-
Notifications
You must be signed in to change notification settings - Fork 21
regression in case classes over java existential #8283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Imported From: https://issues.scala-lang.org/browse/SI-8283?orig=1 |
@retronym said (edited on Feb 14, 2014 11:11:24 AM UTC):
|
@retronym said: test/files/pos/existential-java-case-class/Client.scala:1: error: type arguments [_$1] do not conform to class J's type parameter bounds [T <: J[String]]
case class CC(x: J[_]) {
^ |
@retronym said: I suspect we'll get less cross-talk if |
@retronym said: |
@adriaanm said: |
@retronym said (edited on Feb 14, 2014 4:32:13 PM UTC): Depending on what sort of mood you are in, you could also consider -Yinfer-bounds to turn this on generally (rather than just for Java defined underlying types) |
@adriaanm said: |
@retronym said:
|
@adriaanm said: |
The text was updated successfully, but these errors were encountered: