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

Commit 6ac3d32

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix type checking of tuple expressions.
Belonging to [master]: - #2800
1 parent 83bdb3d commit 6ac3d32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compiler/NFFrontEnd/NFTypeCheck.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,8 +1643,8 @@ algorithm
16431643

16441644
case Type.TUPLE()
16451645
algorithm
1646-
(exp1, compatibleType, matchKind) :=
1647-
matchTupleTypes(type1, type2, exp1, allowUnknown);
1646+
(exp2, compatibleType, matchKind) :=
1647+
matchTupleTypes(type2, type1, exp2, allowUnknown);
16481648
then
16491649
compatibleType;
16501650

0 commit comments

Comments
 (0)