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
Fix#9067: avoid instantiate child parameters to Wildcard if possible
In tests/patmat/i9067.scala, for Foo[X1, X2] <: Base[Any, Any],
X1 and X2 can both be `Any` instead of `Wildcard`.
Inferring `Wildcard` will lead to the signature of `Foo.unapply`
be inferred as `Nothing => Nothing`, which causes the checker
to issue a false unexhaustive warning.
0 commit comments