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
Assertion error in toAnchor
#836
Comments
I need to get my Anchor removal pull request in asap. |
I'm unable to reproduce after #841, which removed Anchor. |
I am able to reproduce this error while running latest sbt-scalahost on the community build java.lang.AssertionError: assertion failed
at scala.Predef$.assert(Predef.scala:156)
at scala.meta.internal.semantic.InputOps$XtensionGPositionMPosition.toMeta(InputOps.scala:20)
at scala.meta.internal.semantic.SymbolOps$XtensionGSymbolMSymbol.toSemantic(SymbolOps.scala:25)
at scala.meta.internal.semantic.AttributesOps$XtensionCompilationUnitAttributes$$anonfun$toAttributes$1$traverser$4$.scala$meta$internal$semantic$A
ttributesOps$XtensionCompilationUnitAttributes$$anonfun$traverser$$success$1(AttributesOps.scala:141)
at scala.meta.internal.semantic.AttributesOps$XtensionCompilationUnitAttributes$$anonfun$toAttributes$1$traverser$4$.tryMpos$1(AttributesOps.scala:
183)
at scala.meta.internal.semantic.AttributesOps$XtensionCompilationUnitAttributes$$anonfun$toAttributes$1$traverser$4$.tryFindMtree(AttributesOps.sca
la:203)
at scala.meta.internal.semantic.AttributesOps$XtensionCompilationUnitAttributes$$anonfun$toAttributes$1$traverser$4$.traverse(AttributesOps.scala:3
22) |
olafurpg
added a commit
that referenced
this issue
May 10, 2017
Gracefully handle non-range positions, fixes #836.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling
with scalahost triggers an assertion error https://gist.github.com/allanrenucci/83db9369e47fd3eb3d1a599c598dc7d5
Discovered at scalacenter/scalafix#146
The text was updated successfully, but these errors were encountered: