Skip to content

Commit 94aecc4

Browse files
authored
[NB] failtrace: fix non lowered cref report (#13609)
1 parent c42c965 commit 94aecc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1650,9 +1650,11 @@ public
16501650
algorithm
16511651
_ := match cref
16521652
case ComponentRef.CREF(node = InstNode.VAR_NODE()) then ();
1653-
else algorithm
1653+
case ComponentRef.CREF(node = InstNode.NAME_NODE()) then ();
1654+
case ComponentRef.CREF() algorithm
16541655
UnorderedSet.add(cref, set);
16551656
then ();
1657+
else ();
16561658
end match;
16571659
end checkLoweredCref;
16581660

0 commit comments

Comments
 (0)