Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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]: - OpenModelica/OMCompiler#2321
- Loading branch information
1 parent
3a6cb88
commit 25da467
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters