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
case classes extending each other #4109
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4109?orig=1 |
@hubertp said: |
@hubertp said: |
@paulp said: |
@hubertp said: |
@paulp said: |
@hubertp said: |
@hubertp said: btw. shouldn't we keep this bug open until after 2.9, so that at that point I make it an error? |
@paulp said:
Probably, although I wish there was some chance I could forget about it. Just trying to clear brush away so I can see more of the snakes. If you want to reopen it I won't make a peep. |
@SethTisue said: Also, I think the error message should include some sound effects. |
@hubertp said: |
If a case class is declared as a child of another case class, the compiler usually gives warnings. But in certain cases the compiler crashes with the following exception:
I am not sure how this is reproducible. If I don't declare the ancestor class as a case class then the complier does not crash.
I am using Scala 2.8.1.final.
The text was updated successfully, but these errors were encountered: