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
Get rid of 'protected' #3162
Get rid of 'protected' #3162
Conversation
Web Meeting: Hans, Henrik, Gerd, Martin, Oliver Uses of protected in Modelica:
Example:
flat Modelica w/o protected
The fact that x is not part of the function interface is also clear w/o protected. Conclusion: Open question: |
Web Meeting: Hans, Henrik, Gerd, Martin, Oliver Henrik: If we can handle final, then we can protected also, because restricted modifications. In terms of heuristics we will have to see. Henrik: public is needed only to end a protected section. If we don't have protected there is no need for public. Hans: There are heuristics using them. Adding an annotation may add so much more. Maybe we need to have an appropriate semantics for protected, then the heuristics could remain. Henrik: To this would be cleaner to keep only what is needed. Hans: It doesn't hurt keeping it. Henrik: Having a keyword but a different semantics will be confusing. Henrik: Keeping public and protected may lead to alternating sections. What are these heuristics?
Keep the information that a start value cannot be modified would make the selection for tearing more transparent. Proposals:
Poll: Option 1: None. Decision: |
I believe we should use a longer example:
|
Co-authored-by: Oliver Lenord <oliver.lenord@de.bosch.com>
Co-authored-by: Oliver Lenord <oliver.lenord@de.bosch.com>
Web Meeting (Hans, Henrik, Gerd, Martin, Oliver) Added the "long" example from Hans to the annotations.md Decision: |
Well spotted! The text for |
Fixes issue pointed out in #3162 (comment).
No description provided.