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

Lexer: Input of colon (:) throws exception #4578

Closed
richdougherty opened this issue Jun 15, 2017 · 3 comments
Closed

Lexer: Input of colon (:) throws exception #4578

richdougherty opened this issue Jun 15, 2017 · 3 comments
Labels

Comments

@richdougherty
Copy link

One other exception on CoffeeScript 1.11.0 and 1.12.6. An input of : results an exception with the text Cannot read property 'newLine' of undefined. Sorry I haven't got the stack trace for this one.

This may be related to #4575.

I've informally tested most other punctuation on my keyboard and these are the only two lexer errors I get.

@lydell
Copy link
Collaborator

lydell commented Jun 15, 2017

@richdougherty Is this what you mean? http://coffeescript.org/#try:%3A

@richdougherty
Copy link
Author

Yes that's what I mean. Expected output is something like Error on line 1: unexpected :. Actually, I don't have a stack trace so I'm not sure if the error is in the lexer or not.

@GeoffreyBooth
Copy link
Collaborator

Fixed by #4662.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants