Skip to content

Commit

Permalink
[NF] Relax connector check for e.g. isRoot.
Browse files Browse the repository at this point in the history
- Allow A in A.R to be a qualified cref.

Belonging to [master]:
  - OpenModelica/OMCompiler#2618
  • Loading branch information
perost authored and OpenModelica-Hudson committed Aug 28, 2018
1 parent 6d27fdf commit 9499275
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Compiler/NFFrontEnd/NFBuiltinCall.mo
Expand Up @@ -1482,8 +1482,7 @@ protected
restCref = ComponentRef.CREF(ty = ty2, origin = NFComponentRef.Origin.CREF,
restCref = rest_cref))
then Class.isOverdetermined(InstNode.getClass(node)) and
Type.isConnector(ty2) and
not ComponentRef.isFromCref(rest_cref);
Type.isConnector(ty2);

else false;
end match;
Expand Down

0 comments on commit 9499275

Please sign in to comment.