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

Improve copyClass API #12120

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Improve copyClass API #12120

merged 1 commit into from
Mar 19, 2024

Conversation

perost
Copy link
Member

@perost perost commented Mar 19, 2024

  • Improved copyClass so that it updates the paths in the copied class to be valid in the new location of the class where possible.
  • Changed default within argument of copyClass from TopLevel to __OpenModelica_TopLevel to make it a bit less likely to conflict with user models.

- Improved `copyClass` so that it updates the paths in the copied class
  to be valid in the new location of the class where possible.
- Changed default `within` argument of `copyClass` from `TopLevel` to
  `__OpenModelica_TopLevel` to make it a bit less likely to conflict
  with user models.
@perost perost self-assigned this Mar 19, 2024
@perost perost enabled auto-merge (squash) March 19, 2024 12:13
@perost perost merged commit d4be423 into OpenModelica:master Mar 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant