constructing or modifying scala.reflect.api.Position

89 views Asked by At

I have a macro and I can get the pos of a literal string. I want my errors to highlight a subset of that string given a computed offset. How can I construct a new sub position base on the old position?

Thanks!

1

There are 1 answers

0
Eugene Burmako On

Follow our progress with https://issues.scala-lang.org/browse/SI-8063 for more information.