Skip to content

Commit

Permalink
Merge branch 'master' into highprecision
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Nov 26, 2023
2 parents c170d0f + 3a2f685 commit bd0146b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,11 @@ else if (this.typeParams != null && efd.typeParams != null
detail2(mname.getName(), mtype.parameters, "Expected", type.parameters);
}
}
else if (isCurried && !(mtype.result instanceof TCFunctionType))
{
mname.report(3303, "Measure parameters different to function");
detail2(mname.getName(), mtype, "Expected", type.getMeasureType(mtype.result));
}
else if (!TypeComparator.compatible(mtype.parameters, type.parameters))
{
mname.report(3303, "Measure parameters different to function");
Expand Down

0 comments on commit bd0146b

Please sign in to comment.