Skip to content
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

Forbid type dimensions when redeclaring components #11534

Merged
merged 1 commit into from Nov 8, 2023

Conversation

perost
Copy link
Member

@perost perost commented Nov 8, 2023

  • Change the parser to reject dimensions on the type of a component redeclare, since it's not valid syntax according to the Modelica grammar.

Fixes #2312

@perost perost added the COMP/OMC/Frontend Issue and pull request related to the frontend label Nov 8, 2023
@perost perost self-assigned this Nov 8, 2023
@perost perost enabled auto-merge (squash) November 8, 2023 13:15
- Change the parser to reject dimensions on the type of a component
  redeclare, since it's not valid syntax according to the Modelica
  grammar.

Fixes OpenModelica#2312
@perost perost merged commit b796aa1 into OpenModelica:master Nov 8, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP/OMC/Frontend Issue and pull request related to the frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Array dimensions on the type in a redeclare modification should not be allowed
1 participant