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

Commit 271b70d

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix lookup scope for inner names.
Belonging to [master]: - #2429 - OpenModelica/OpenModelica-testsuite#943
1 parent 74e8456 commit 271b70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFLookup.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ algorithm
336336
else
337337
// Continue looking in the instance parent's scope.
338338
prev_scope := cur_scope;
339-
cur_scope := InstNode.parent(cur_scope);
339+
cur_scope := InstNode.derivedParent(cur_scope);
340340
end try;
341341
end while;
342342

0 commit comments

Comments
 (0)