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
Treat all type parameters and abstract types as sealed
This means that no type parameter can be instantiated with a type that
captures cap covariantly or invariantly in its type.
Two exceptions/special cases:
- Type arguments for isInstanceOf and asInstanceOf are excluded, they can capture cap
anywhere.
- Refining variables in class types can still contain cap since they describe what
comes from the constructor.
Test reclassifications:
- i15922.scala was moved to pending. Not clear whether this should compile, and what changes would be necessary to get it there.
- future-traverse.scala was moved to pending. Not clear how to make this compiler.
- i15749a.scala was moved to neg. The issue description seems to indicate that the test should not compile, but I am not sure what the outcome should be.
0 commit comments