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
Java generic signatures can't refer to type members
- The PolyType case was dead code imported from Scala 2
- The HKTypeLambda case was correct for eta-expanded classes
(e.g. in t7932 `Category[Tuple2]` should get as signature
`Category<scala.Tuple2>`), but not for other type lambdas
where it could lead to type members appearing in the signature.
Fixed by splitting the case into an EtaExpansion case and
a case for all other HKTypeLambdas (which are just replaced
by a wildcard).
Fixes#15091.
0 commit comments