Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

[NF] Fix scoping of redeclared components.#2904

Closed
perost wants to merge 1 commit intoOpenModelica:masterfrom
perost:nfinst2
Closed

[NF] Fix scoping of redeclared components.#2904
perost wants to merge 1 commit intoOpenModelica:masterfrom
perost:nfinst2

Conversation

@perost
Copy link
Copy Markdown
Member

@perost perost commented Jan 28, 2019

  • Add InstNodeType to component nodes too, and use it to keep track of
    the parent of the replaced component. This is then used by
    InstNode.scopeList, so that crefs pointing to redeclared components
    are generated correctly.

- Add InstNodeType to component nodes too, and use it to keep track of
  the parent of the replaced component. This is then used by
  InstNode.scopeList, so that crefs pointing to redeclared components
  are generated correctly.
@OpenModelica-Hudson
Copy link
Copy Markdown
Member

The tests run correctly according to OpenModelica_TEST_PULL_REQUEST 2019-01-28_15-39-10.

OpenModelica-Hudson pushed a commit that referenced this pull request Jan 28, 2019
- Add InstNodeType to component nodes too, and use it to keep track of
  the parent of the replaced component. This is then used by
  InstNode.scopeList, so that crefs pointing to redeclared components
  are generated correctly.

Belonging to [master]:
  - #2904
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants