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
Compiler.parseTree not thread-safe #8030
Comments
Imported From: https://issues.scala-lang.org/browse/SI-8030?orig=1 |
@retronym said:
Seems like we need to force a few lazies in Definitions to make this work. // On presentation compiler startup
definitions.TupleClass.seq.foreach(sym => fullyInitializeSymbol(sym))
// same for any other symbols used by Parsers. This workaround could be done in the IDE in the meantime. |
@retronym said: |
@densh said: |
@retronym said: And I would change that to |
@dotta said: |
According to the contract of Compiler.parseTree, no symbol should be entered in the returned tree. This ticket in the Scala IDE project proves the contract is broken.
The text was updated successfully, but these errors were encountered: