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
The test case `tests/explicit-nulls/neg/strip.scala` specify that null
unions inside intersection types should work. After changing the
scrutinee type of the extractor `OrNull` it is no longer the case.
Changing the scrutinee type is still justified because it agrees with
the name as well as the usage in `Types.scala`.
In contrast, in `Typer.scala`, the logic is more clear without using `OrNull`.
0 commit comments