-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Assertion error from the compiler if no clean build done before compile (i.e. incremental build) #6665
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
This issue and #6643 are probably related (similar stack trace) |
@j-mie6 Could you link to a github project where the problem can be reproduced, with the exact steps needed to reproduce it ? |
Looks like it is something to do with implicit functions, traits, multiple files and who knows what else! In order to reproduce, do the following: bash> sbt Then edit Bad.scala by introducing a space or something, and finally: sbt> compile |
FWIW even simplier |
This seems to have been fixed by #8386. |
I'm getting this error if I don't clean build after editing a specific file in my project:
Clean compiling fixes the problem. I do not need to clean build if changing any other file, just this specific one. The files makes use of the new trait parameters (with default parameters) and extending multiple of them in each class. There are other things in the file, but they were verbatim taken from the build with Scala 2.12.
The text was updated successfully, but these errors were encountered: