You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit is a workaround for the fact that scala.meta macro
annotations don't compile with -Yrangepos enabled.
The option -Yrangepos causes scalac to validate that all start/end offsets
in tree positions follow a few invariants. These invariants enable
tools like Scala IDE to use binary search to quickly find trees.
However, the expanded trees by scala.meta macro annotations don't follow
these invariants. I haven't been able to investigate properly why this
is the case.
This commit removes range positions from scala.meta macro annotation
expanded code, enabling scala.meta macro annotations to not crash with
tools like like scoverage or scalahost were enabled. However, note,
those tools may need range positions to function properly.
Related issues:
- #181
- scalamacros#55
- scalamacros#52
https://groups.google.com/forum/#!topic/scala-user/4yQtMKgK9-c
The text was updated successfully, but these errors were encountered: