-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Compiler crash: "failure to construct path" #3917
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 crashes earlier with checking try/i3917.scala after phase MegaPhase{phantomArgLift, vcInlineMethods, seqLiterals, intercepted, getters, elimByName, elimOuterSelect, augmentScala2Traits, resolveSuper, simplify, primitiveForwarders, functionXXLForwarders, arrayConstructors}
exception while typing Hello.this of class class dotty.tools.dotc.ast.Trees$This # 198
*** error while checking try/i3917.scala after phase arrayConstructors ***
exception occurred while compiling try/i3917.scala
Exception in thread "main" java.lang.AssertionError: assertion failed: error while typing Hello.this, method test is not contained in class Hello
at scala.Predef$.assert(Predef.scala:219)
at dotty.tools.dotc.transform.TreeChecker$Checker.typedThis(TreeChecker.scala:352)
... Workaround: write |
In the mini-phase Getters, |
Fix #3917: Properly desugar `Ident`
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: