We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
scala> val c = { class C; ((new C, new C { def f = 2 })) } c: Tuple2[_ <: java.lang.Object with ScalaObject, _ <: C{def f: Int}] = (C$$1@809791,$$anon$$1@5edcf5)
in the type of c, the class name C should be bound by an existential.
c
C
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-4172?orig=1 Reporter: @lrytz
Sorry, something went wrong.
Commit Message Bot (anonymous) said: (extempore in r25391) Test case closes #4172 - I think the output is right anyway - review by rytz.
lrytz
No branches or pull requests
in the type of
c
, the class nameC
should be bound by an existential.The text was updated successfully, but these errors were encountered: