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
- keep the singleton type in the cast target
- assert cast target stability if original was stable
- fix isStable test for TypeParamRefs
- double check if GADT logic is really needed before inserting a cast
Fixesscala#11220Fixesscala#11955
Compiler version
3.0.0-RC1
Minimized code
Output
Expectation
It should compile. It does with Scala 2.x.
The text was updated successfully, but these errors were encountered: