Skip to content

Commit

Permalink
[NF] Fix tuple type checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost committed Feb 7, 2020
1 parent 3af6123 commit 7e2da71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo
Expand Up @@ -2611,13 +2611,13 @@ algorithm
end if;

for ty2 in tyl2 loop
ty1 :: tyl1 := tyl1;

// Skip matching if the rhs is _.
if Type.isUnknown(ty2) then
continue;
end if;

ty1 :: tyl1 := tyl1;

(_, _, matchKind) := matchTypes(ty1, ty2, expression, allowUnknown);

if matchKind <> MatchKind.EXACT then
Expand Down

0 comments on commit 7e2da71

Please sign in to comment.