-
Notifications
You must be signed in to change notification settings - Fork 21
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
regression: accessing protected field in nested trait crashes in erasure #6245
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6245?orig=1 |
@hubertp said: |
@heathermiller said: |
@paulp said: |
@odersky said: This is really tricky stuff. We should not make untested changes days before an RC. |
@gkossakowski said: |
@hubertp said: |
@paulp said: https://github.com/paulp/scala/tree/issue/6245 I think it will be tricky, but I'd say take a shot at it (not that my opinion is overly relevant.) |
@namin said: For the shorter time, would it make sense to generate a compile-time error for #2296 while fixing this regression? I have a small change in this direction: https://github.com/namin/scala/tree/si-6245 What do you think? |
@paulp said: |
@namin said: https://github.com/namin/scala/tree/super Thoughts? |
@paulp said: |
@gkossakowski said: |
Yet another bug with protected access. Stopped working in M3.
t1/Base.java
t1/Vis.java
Foo.scala
Changing trait to class fixes the problem.
Crash:
The text was updated successfully, but these errors were encountered: