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
// Main.scala object Test { def test = { trait K[T] { def f = A } case object A extends K[Int] List(A.toString) } } object Main extends App { println(Test.test) }
java.lang.ClassFormatError: Duplicate field name&signature in class file Test$A$2$
without toString: can't existentially abstract over parameterized type K[Int]
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8895?orig=1 Reporter: Guillaume Massé (masgui) Affected Versions: 2.11.2
Sorry, something went wrong.
@gourlaysama said: This seems similar to #7645 (especially the 2nd comment).
@som-snytt said: Or #5252. I just noticed that quick search on "duplicate field" doesn't yield the results I expected. That is duplicate resolution.
@SethTisue said: went away somewhere between 2.11.2 and 2.11.8
No branches or pull requests
without toString: can't existentially abstract over parameterized type K[Int]
The text was updated successfully, but these errors were encountered: