-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Nested overloaded inline methods crash the compiler when imported from exported object #20574
Comments
I have a similar issue in a macro-heavy project with both 3.4.2 and 3.5.0-RC1. Click
|
Have probably same issue with 3.3.3 - good. Output for 3.5.1-RC1-bin-20240618-c1b25d6-NIGHTLY
|
I extracted the code that crashes the compiler in my case - https://gist.github.com/narma/9873a0569ae1543c2b39c6f35e5346be , unfortunately I could not minimize it further. Perhaps this is a different issue, should I create another one? |
I have the same error message as you @narma. Also only from 3.4.2 onward |
Looks like our similar error (with |
this is similar to #17152
Compiler version
crashes 3.4.2, also crashes on 3.5.0 RC-1
on 3.2.0 it doesn't crash the compiler but still causes
My project was running without error on 3.2.0 before I upgraded.
Minimized code
Unfortunately, due to the complex nature of the crash, it appears that a minimum of 4 files are required. However, they are small.
Macros.scala
OverloadedInline.scala
Exports.scala
Test.scala
It was a lot of work to narrow this down from my entire project, so I hope this is helpful!
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: