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
trait T { protected def s: String } case class G(override protected val s: String) extends T
This code results in a compile error:
<console>:11: error: value s$1 overrides nothing case class G(override protected val s: String) extends T ^
More detailed explanation of this error is in http://stackoverflow.com/questions/21019966/scala-override-protected-val-results-in-error-when-defining-case-class-constr
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8132?orig=1 Reporter: Eun, Naetmul (Naetmul) Affected Versions: 2.10.3
Sorry, something went wrong.
@retronym said: scala/scala#3369
retronym
No branches or pull requests
This code results in a compile error:
More detailed explanation of this error is in
http://stackoverflow.com/questions/21019966/scala-override-protected-val-results-in-error-when-defining-case-class-constr
The text was updated successfully, but these errors were encountered: