-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Type not found when reference static type in java parent class #10956
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
similar with scala/bug#9111 |
This does not need fixing. Class |
I understand. But java protocol buffers use this kind of code, so scala3 can not compile the java files generated by |
So this is for java sources only. |
@odersky @som-snytt Though this is for java only, it indeed affects the interoperation with |
The linked Scala 2 fix already prompted an issue for Scala 3 Link to comment in the Scala 2 fix Showing fix on Scala 2 test case and similar Scala 3 error:
|
Yes, this is duplicated with #6138 but seems no plan for the issue. |
Minimized code
java code
Output
Expectation
I think this should be compiled because javac compiles the code successfully.
The text was updated successfully, but these errors were encountered: