-
Notifications
You must be signed in to change notification settings - Fork 21
Compiler Error on constructor visibility problem in extends clause #6216
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-6216?orig=1 |
@magarciaEPFL said: |
Greg Orzell (gorzell) said (edited on Aug 14, 2012 10:07:09 PM UTC): |
Greg Orzell (gorzell) said: |
@jsalvata said: object Test {
sealed class Result private(val id: Short, val isFinal: Boolean)
case class Ok() extends Result(1, true)
} (I intended "private[Test]" -- easy to get it wrong) |
@jsalvata said: I've changed the summary to what I believe are the common aspects of both reported cases. |
@paulp said:
|
Compiler throws an error trying to compile the declaration line of a scala subclass of a java super class.
Java Class
Scala Class:
The text was updated successfully, but these errors were encountered: