Quentin Lambert
Quentin Lambert
This relates to https://github.com/modelica/ModelicaStandardLibrary/issues/593.
Being able to use local variables to factorise code would be nice though.
> Possibly, but in that case we should combine the two - so that bindings _combined with sizes_ must be acyclic. I am fine with that.
I am also surprised how anyone expects the description of how `RecordConstructor` are automatically generated to pass variability checking. ``` record R constant Real x ; end R; ``` is...
There is also the question of the validity of the following model: ``` model RecordFieldVariabilityInFunctions record R constant Integer n = 3; parameter Real a[n] = fill(1, n); parameter Real...
Does that make the following model invalid, because there is no `k` in the actual redeclared model. Or are we supposed to just drop modifications from intervening redeclarations? ``` model...
I guess in this example `k=1` and `k.start = 3` ``` model Test15 model M0 end M0; model M1 extends M0; replaceable parameter Real k = 1; end M1; model...
After revisiting this issue I now think that in `Test5`, `k=5` and `k.start = 3`
Yes, I agree with you. This is how WSM will behave in the next release.
> First question: is it allowed to redeclare `m` when extending `A`? I consider it a bug in System Modeler that we are not complaining about the missing replaceable. >...