New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meaning of argument-less experiment annotation #2985
Comments
Having an empty experiment would make sense if the experiment annotation was inherited, to mark the model as an experiment but the settings are elsewhere. (Or perhaps just stating it is an experiment; use default settings) |
To me, it would be more natural to express that with |
Why is there even specific grammar for some of the annotations in the specification, while others are defined as records? The actual grammar of Modelica for annotations is OpenModelica ignores modifiers with neither submodifiers nor an expression (like |
Without reopening, let me just try to summarize how I interpret the resolution by #2999: When an annotation is defined by a pseudo-record, the record constructor form must be used in order to express a valid annotation, so
|
|
This comment by @HansOlsson shows where the confusion comes from. I believe it is best we continue the discussion there. |
Bringing up question as suggested in #2922 (comment):
Quoting the grammar for the
experiment
annotation:What is the purpose of allowing the annotation without argument list?
Why don't we simply require the argument list?
The text was updated successfully, but these errors were encountered: