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

Empty function construct requires additional parentheses #81

Closed
ghost opened this issue Aug 15, 2011 · 2 comments
Closed

Empty function construct requires additional parentheses #81

ghost opened this issue Aug 15, 2011 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Aug 15, 2011

Coco:

% coco -bpe 'equal @getClassOf(->), "Function", "Function object"' 
Error: Parse error on line 1: Unexpected ')CALL'

% coco -bpe 'equal @getClassOf((->)), "Function", "Function object"'
equal(this.getClassOf(function(){}), "Function", "Function object");

CoffeeScript:

% coffee -bpe 'equal @getClassOf(->), "Function", "Function object"'
equal(this.getClassOf(function() {}), "Function", "Function object");
@satyr satyr closed this as completed in 239d943 Aug 15, 2011
@satyr
Copy link
Owner

satyr commented Aug 15, 2011

Thanks, should be fixed there.

@ghost
Copy link
Author

ghost commented Aug 15, 2011

Thank you!

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

1 participant