Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Missing default values in records #10

Open
casella opened this issue Nov 20, 2019 · 0 comments
Open

Missing default values in records #10

casella opened this issue Nov 20, 2019 · 0 comments

Comments

@casella
Copy link

casella commented Nov 20, 2019

Please check the OpenModelica coverage report of your library. All models fail to compile because records are instantiated without giving values to some elements, that have no default value.

I guess other Modelica tools may use the start attribute as default, but I'm not sure if this is legal Modelica when you have record constructors. In any case, indicating the default explicitly in the record definition would be much clearer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant