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
Scala.js: Fix a codegen bug for switch matches in statement position.
The codegen chooses `jstpe.NoType` (`void`) over the declared type
of a `Match` node. That is normally fine, except if the declared
type was `Nothing`, in which case we must retain it, because the
enclosing statement might be demanding an expression of type
`Nothing`.
0 commit comments