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
Fixscala#20897: Make Nothing ⋔ Nothing and Null ⋔ Null, as per spec.
`derivesFrom` normally returns `false` when the receiver is
`Nothing` or `Null`. However, it returns `true` if the right-hand-
side happens to be exactly the same class. For the purpose of
computing `provablyDisjoint`, we have to explicitly exclude those.
(Note that the spec text per se only explicitly specifies
`Nothing ⋔ Nothing`, not `Null ⋔ Null`, but that's because the spec
text punts on the `Null` issue. The intent of `provablyDisjoint`
is that there is no *non-null* value belonging to both types.)
0 commit comments