Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Empty function construct requires additional parentheses #81

Closed
kitcambridge opened this Issue · 2 comments

2 participants

@kitcambridge

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 issue from a commit
@satyr fixed #81 239d943
@satyr satyr closed this in 239d943
@satyr
Owner

Thanks, should be fixed there.

@kitcambridge

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.