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

Hamlet gives a confusing error for trailing whitespace after $maybe syntax #3

Closed
rehno-lindeque opened this issue Sep 21, 2010 · 1 comment

Comments

@rehno-lindeque
Copy link

If you have trailing whitespace after the last argument of $maybe or directly after $nothing a compile error such as this occurs:

(line 38, column 4):\nunexpected \"n\"\nexpecting end of input, \"\\n\" or \"\\r\\n\""

Not sure if the same happens for other command like $if and such...

@snoyberg
Copy link
Member

I've just released version 0.5.0.2 which makes trailing whitespace legal. Thanks for noticing this.

This issue was closed.
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

2 participants