-
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
"Unable to locate class file for inner class" #11062
Comments
I've been fighting with this issue for a long time. It almost makes the incremental compiler unusable in some situations, forcing me to rebuild the project over and over again. |
do we have reason to believe this is a scalac bug and not a zinc bug? |
I have no recollection of how I triggered this bug, and ended up switching that whole project over to dotty anyway. |
@ghik do you think you might be able to isolate and reproduce this? |
@SethTisue since it is related to incremental compilation, it happens seemingly randomly and I'm afraid it won't be easy to reproduce. |
okay, I'm going to close this because it's almost certainly a zinc bug. unfortunately GitHub doesn't let me transfer issues from org to org, only within the same org. |
Hand-transferred as sbt/zinc#797. |
I have two source files, one Java, one Scala.
The Java class definition is as follows:
The Scala source contains the following:
Everything works fine with a clean build, or if the definition of
class EmptyNode[E]
is commented out; however, after roughly ~1 edit cycle, I get the following error message:I'm using Scala 2.12.6 on Java 8. Notably, the class file in question exists on my file system.
The text was updated successfully, but these errors were encountered: