Skip to content

Commit

Permalink
[NF] Fix expandable connector lookup.
Browse files Browse the repository at this point in the history
- Only allow lookup of undeclared elements in components, not classes.

Belonging to [master]:
  - #177
  - OpenModelica/OMCompiler#3088
  • Loading branch information
perost authored and OpenModelica-Hudson committed May 14, 2019
1 parent ad34730 commit 9a3a758
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/NFFrontEnd/NFLookup.mo
Expand Up @@ -778,6 +778,7 @@ algorithm
try
n := Class.lookupElement(name, cls);
else
true := InstNode.isComponent(node);
n := InstNode.NAME_NODE(name);
end try;

Expand Down

0 comments on commit 9a3a758

Please sign in to comment.