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

Commit 3997aa3

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Don't split external objects in connectors.
Belonging to [master]: - #3013 - OpenModelica/OpenModelica-testsuite#1153
1 parent 72c947e commit 3997aa3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Compiler/NFFrontEnd/NFConnector.mo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ protected
254254
then
255255
conns;
256256

257+
case Type.COMPLEX(complexTy = ComplexType.EXTERNAL_OBJECT())
258+
then CONNECTOR(name, Type.liftArrayLeftList(ty, dims), face, cty, source) :: conns;
259+
257260
case Type.COMPLEX()
258261
algorithm
259262
tree := Class.classTree(InstNode.getClass(ty.cls));

0 commit comments

Comments
 (0)