Skip to content

Commit

Permalink
Keep top level input / output of connector arrays (#3794)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke committed Mar 24, 2016
1 parent cbd8a42 commit 9d2b906
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/FrontEnd/ConnectUtil.mo
Expand Up @@ -3534,6 +3534,8 @@ algorithm
case (DAE.CREF_IDENT()) then Connect.OUTSIDE();
// is a qualified cref and is a connector => OUTSIDE
case (DAE.CREF_QUAL(identType = DAE.T_COMPLEX(complexClassType=ClassInf.CONNECTOR(_,_)))) then Connect.OUTSIDE();
// is a qualified cref and is an array of connectors => OUTSIDE
case (DAE.CREF_QUAL(identType = DAE.T_ARRAY(ty = DAE.T_COMPLEX(complexClassType=ClassInf.CONNECTOR(_,_))))) then Connect.OUTSIDE();
// is a qualified cref and is NOT a connector => INSIDE
case (DAE.CREF_QUAL()) then Connect.INSIDE();
end match;
Expand Down

0 comments on commit 9d2b906

Please sign in to comment.