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

Commit 62dcbfd

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix access violation check for Lookup.
Belonging to [master]: - #2615
1 parent 4e5b4c7 commit 62dcbfd

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
@@ -484,7 +484,7 @@ algorithm
484484
algorithm
485485
(node, state) := lookupFirstIdent(name.name, scope);
486486
then
487-
lookupLocalName(name.path, node, state, InstNode.refEqual(node, scope));
487+
lookupLocalName(name.path, node, state, checkAccessViolations, InstNode.refEqual(node, scope));
488488

489489
// Fully qualified path, start from top scope.
490490
case Absyn.Path.FULLYQUALIFIED()

0 commit comments

Comments
 (0)