Skip to content
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

Gracefully handle lack of -Yrangepos #38

Open
kenbot opened this issue May 18, 2017 · 0 comments
Open

Gracefully handle lack of -Yrangepos #38

kenbot opened this issue May 18, 2017 · 0 comments
Milestone

Comments

@kenbot
Copy link
Owner

kenbot commented May 18, 2017

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 kenbot added this to the 1.1 milestone May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant