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
Throw a type error iwhen using hk-types in unions or intersections
Throw a type error instead of crashing when using higher-kinded types in unions or intersections.
We check kindedness only in PostTyper (to avoid cycles), which means we might get into situations
where we coming a higher-kinded type in a union or intersection, which is illegal. In this case
we now diagnose the problem with a TypeError instead of failing an assert. However, after Typer
we do fail since by then such situations should have been checked by then.
Fixeds #16696
0 commit comments