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
Single quote error could be more helpful #10120
Comments
Imported From: https://issues.scala-lang.org/browse/SI-10120?orig=1 |
@som-snytt said:
but could actually show the scansion for the line. |
@som-snytt said: |
The
|
But it could look for Or as an approximation, downcast the scanner to grab the source line and check if this isn't the only quote on the line. |
http://stackoverflow.com/questions/14807767/algorithm-behind-unclosed-character-literal
This could be more beginner-friendly:
The text was updated successfully, but these errors were encountered: