-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Lexer: Input of asterisk (*) throws exception #4575
Labels
Comments
GeoffreyBooth
changed the title
Input of asterisk (*) throws exception
Lexer: Input of asterisk (*) throws exception
Jun 15, 2017
This was referenced Jun 15, 2017
GeoffreyBooth
added a commit
that referenced
this issue
Aug 24, 2017
Fixed by #4663. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm upgrading the sbt-coffeescript plugin and encountered an error on one of our unit tests. When upgrading from CoffeeScript 1.7.1 to 1.11.0 (I know this isn't the latest version) I noticed that our unit test that extracts line numbers from compile errors was failing. This error also occurs on the online console (version 1.12.6).
When the input to the compile function is
*
or*whateveryouwanthere
then the lexer throws an exception.The expected result was an error like
Error on line 1: unexpected *
.The lexer handles this properly if the
*
character is on the start of line 2 instead of line 1.The text was updated successfully, but these errors were encountered: