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

enable use of throw as an expression #282

Closed
michaelficarra opened this issue Feb 3, 2014 · 1 comment
Closed

enable use of throw as an expression #282

michaelficarra opened this issue Feb 3, 2014 · 1 comment

Comments

@michaelficarra
Copy link
Owner

See jashkenas/coffeescript#3347.

f throw a

should compile to

f(function(){ throw a; }());

and

f throw

should compile to

f(function(e){ throw e; });
@lydell
Copy link
Collaborator

lydell commented Aug 23, 2014

Duplicate of #165.

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

No branches or pull requests

2 participants