-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Assertion error in DottyBackendInterface: denot.name is not default getter #2797
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
In what phase did -Ycheck fail? And, can you change the line that caused the assertion error to:
It would be good to see what name it got. |
-Ycheck failed after the frontend phase. I opened #2801 adding the debug string to the error message, which now reports
|
The Array[nio.file.FileVisitOptions] error appears only with -Ycheck:all. Without -Ycheck, the assertion error becomes
The codebase has |
After merging the fix for #2704, I'm hitting a new assertion error in the backend while trying to compile the scala/compiler-benchmark with Dotty.
To reproduce
Compiling with -Ycheck:all gives a hint that an error occurred while typechecking this line here:
https://github.com/scala/compiler-benchmark/blob/d0f038e0a9f367e26dbe9825de9d00e9e699f592/compilation/src/main/scala/scala/tools/nsc/ScalacBenchmark.scala#L38
I unsuccessfully tried to minimize the error with
The failed assertion is here:
https://github.com/lampepfl/dotty/blob/7381e9d5106dec40cce70471c2c0c755b4bd374b/compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala#L259
This issue is a blocker for merging scala/compiler-benchmark#31
The text was updated successfully, but these errors were encountered: