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

Commit 9a3a758

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix expandable connector lookup.
- Only allow lookup of undeclared elements in components, not classes. Belonging to [master]: - OpenModelica/OpenModelica#177 - #3088
1 parent ad34730 commit 9a3a758

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Compiler/NFFrontEnd/NFLookup.mo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ algorithm
778778
try
779779
n := Class.lookupElement(name, cls);
780780
else
781+
true := InstNode.isComponent(node);
781782
n := InstNode.NAME_NODE(name);
782783
end try;
783784

0 commit comments

Comments
 (0)