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

Change __OpenModelica_tearingSelect to use enum #12005

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

perost
Copy link
Member

@perost perost commented Feb 19, 2024

  • Add TearingSelect enumeration type to the annotation environment.
  • Change __OpenModelica_tearingSelect to also accept TearingSelect values in addition to the existing identifiers such as always.
  • Give a deprecation warning when using the old identifiers with __OpenModelica_tearingSelect.

Fixes #11949

@perost perost added COMP/OMC/Backend Issue and pull request related to the backend COMP/OMC/New Backend Issues and pull requests related to the new backend. labels Feb 19, 2024
@perost perost self-assigned this Feb 19, 2024
@perost perost enabled auto-merge (squash) February 19, 2024 10:25
@perost perost force-pushed the tearingselect branch 3 times, most recently from 637d53a to 9b1a07a Compare February 20, 2024 09:03
- Add `TearingSelect` enumeration type to the annotation environment.
- Change `__OpenModelica_tearingSelect` to also accept `TearingSelect`
  values in addition to the existing identifiers such as `always`.
- Give a deprecation warning when using the old identifiers with
  `__OpenModelica_tearingSelect`.

Fixes OpenModelica#11949
@perost perost merged commit da36889 into OpenModelica:master Feb 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP/OMC/Backend Issue and pull request related to the backend COMP/OMC/New Backend Issues and pull requests related to the new backend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

__OpenModelica_tearingSelect annotation uses undeclared identifiers
1 participant