This repository was archived by the owner on May 18, 2019. It is now read-only.
Commit 25da467
[NF] Relax variability error in functions
The binding expression of a parameter in a function is now allowed to be
a discrete expression (since we do not distinguish between inputs and
other bindings). This now gives a warning instead of an error (because
the Modelica specification does not seem to allow this, but other tools
and libraries use this pattern for no obvious reason).
Belonging to [master]:
- #23211 parent 3a6cb88 commit 25da467
2 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
629 | 634 | | |
630 | 635 | | |
631 | 636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
| 966 | + | |
| 967 | + | |
966 | 968 | | |
967 | 969 | | |
968 | 970 | | |
| |||
0 commit comments