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

Commit 9499275

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Relax connector check for e.g. isRoot.
- Allow A in A.R to be a qualified cref. Belonging to [master]: - #2618
1 parent 6d27fdf commit 9499275

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Compiler/NFFrontEnd/NFBuiltinCall.mo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,8 +1482,7 @@ protected
14821482
restCref = ComponentRef.CREF(ty = ty2, origin = NFComponentRef.Origin.CREF,
14831483
restCref = rest_cref))
14841484
then Class.isOverdetermined(InstNode.getClass(node)) and
1485-
Type.isConnector(ty2) and
1486-
not ComponentRef.isFromCref(rest_cref);
1485+
Type.isConnector(ty2);
14871486

14881487
else false;
14891488
end match;

0 commit comments

Comments
 (0)