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

Unintuitive error message on unclosed token #1120

Closed
satyr opened this issue Feb 8, 2011 · 3 comments
Closed

Unintuitive error message on unclosed token #1120

satyr opened this issue Feb 8, 2011 · 3 comments
Labels

Comments

@satyr
Copy link
Collaborator

satyr commented Feb 8, 2011

http://www.pastie.org/1540468

$ coffee -bsp
->
  f(
Error: unclosed INDENT on line 2
...

$ coco -bsp
->
  f(
SyntaxError: unclosed CALL( on line 2
...
@PandaWood
Copy link

The error also gets the line number wrong (way off sometimes).
I just had this error saying unclosed INDENT on line 7, where the "extra bracket" (and the problem) was actually on line 23.
Line 7 was merely the beginning of the function that the call was made in.

@antono
Copy link

antono commented Sep 1, 2011

+1. its pretty hard to debug such an errors.

@jashkenas jashkenas removed this from the as soon as a patch is available milestone Jun 2, 2015
@GeoffreyBooth
Copy link
Collaborator

Closing this issue as it doesn’t appear to be affecting enough people to warrant attention. If someone wants to do further investigation into this and can devise a fix, a pull request is welcome.

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

5 participants