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
ClassCastException: Trees$DocDef cannot be cast to Trees$ClassDef #9011
Comments
Imported From: https://issues.scala-lang.org/browse/SI-9011?orig=1 |
@retronym said: // TODO these overrides, and the slow trickle of bugs that they solve (e.g. SI-8479),
// suggest that we should pursue an alternative design in which the DocDef nodes
// are eliminated from the tree before typer, and instead are modelled as tree
// attachments. I take it this bug showed up in the IDE after mixing Interactive with ScalaDoc. |
@retronym said: |
@dragos said: |
@dragos said: |
@dragos said: |
@retronym said: |
The exception happens indeed at a cast. It looks like a Docdef makes its way into namer.
The text was updated successfully, but these errors were encountered: