You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cause of the problem is that semanticDB generates a META-INF folder, and javac gets confused somehow.
Updated: incorrect, I get confused with the info.
The reason is that the JavaParser parses T.O$ to a select node, and the typer thinks that T is a term.
The Java parser has to way to determine in a selection A.B whether A is a type or a package. The typer has to try both. For simplicity, we can think A is a type name if it's captalized.
liufengyun
added a commit
to dotty-staging/dotty
that referenced
this issue
Feb 19, 2021
Minimized code
Output
Compile error (see above) in
Mixed
compileOrder with scala 3.0.0-M3 but success with 2.13.4Expectation
Compile successfully as in scala 2.
Notes
Minimized code
in this issue is same as in jdk11: NPE at javac's ClassReader when reading .class file of object member of traits #9200 but I think this is a difference issue, maybe related to sbt-dotty?The text was updated successfully, but these errors were encountered: