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
Improve handling of disjunctions when comparing types
There were two problems in a comparison
A | B <: C
1. If the LHS was `a.type | Nothing`, atoms computation
did not correctly account for Nothing.
2. For other comparisons, the preliminary widen test was
not done under a frozen constraint, and therefore cut
off solutions. This caused a problem for the
`summon[(1 | Nothing) <:< 1]` comparison even once (1)
was fixed.
0 commit comments