goggles icon indicating copy to clipboard operation
goggles copied to clipboard

Gracefully handle lack of -Yrangepos

Open kenbot opened this issue 8 years ago • 0 comments

Currently if -Yrangepos is not set, then interpolated args cannot be displayed in the leftmost column of the error table, and the position of the ^ indicator cannot be accurately set.

We should gracefully show something meaningful, such as "$ARG" for the argument names (rather than an empty string), and fixing the ^ at the start of the expression. We could also print a message that suggests that the user add scalacOptions += "-Yrangepos" to build.sbt.

kenbot avatar May 18 '17 02:05 kenbot