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

fixes for ticket #6013 and #6129 #6765

Merged
merged 1 commit into from Sep 24, 2020
Merged

fixes for ticket #6013 and #6129 #6765

merged 1 commit into from Sep 24, 2020

Conversation

adrpo
Copy link
Member

@adrpo adrpo commented Sep 24, 2020

  • use NFInst.expand instead of NFInst.instantiate in NFApi.mkFullyQual
  • fully qualify the path we search for and all the extends in the loaded
    libraries to make sure is the proper subtype of
  • a bit slow but it can be improved later

@casella
Copy link
Contributor

casella commented Sep 24, 2020

Are the broken tests critical?

@adrpo
Copy link
Member Author

adrpo commented Sep 24, 2020

Had a talk with Per, found out what the problem is and I have a fix. Will push this in soon.

- use NFInst.expand instead of NFInst.instantiate in NFApi.mkFullyQual
- fully qualify the path we search for and all the extends in the loaded
  libraries to make sure is the proper subtype of
- a bit slow but it can be improved later
- force instantiation when NF_API is on even if inner component is not found
- speedup getExtendsModifierNames if there are no modifiers in extends
@adrpo adrpo merged commit 7466cf3 into OpenModelica:master Sep 24, 2020
@casella
Copy link
Contributor

casella commented Sep 24, 2020

Very good! I'll get the nightly build tomorrow, test it and report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants