-
Notifications
You must be signed in to change notification settings - Fork 1.1k
exception while typing def <init>(): Unit of class class dotty.tools.dotc.ast.Trees$DefDef # 1088 #8425
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 comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This is a problem with the interaction between ExplicitOuter, Erasure and time-travelling:
There's no easy fix here. The only thing I can imagine is that we could disallow forward time-travelling from a phase before ExplicitOuter to a phase at or after Erasure. I think that would only impact the |
I don't have a fix that could solve all possible races between explicit outer and erasure. But I do have two fixes for this particular problem:
Each of these two fixes the problem at hand. #8433 implements both of them. |
Fix #8425: Avoid race between erasure and explicit outer
minimized code
Crash output (click arrow to expand)
The text was updated successfully, but these errors were encountered: