You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(tp.tp1.namedTupleElementTypesUpTo(bound -1, normalize), tp.tp2.namedTupleElementTypesUpTo(bound -1, normalize)) match
147
+
case (Nil, rhs) => rhs
148
+
case (lhs, Nil) => lhs
149
+
case (lhs, rhs) =>
150
+
if (lhs.map(_._1) != rhs.map(_._1)) throwTypeError(em"Malformed Intersection Type: Named Tuple elements must be the same, but $lhs and $rhs were found.")
0 commit comments