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

Possible parse error with v1.0.0-rc2 #793

dougwilson opened this Issue Jan 1, 2013 · 1 comment


None yet
2 participants
Copy link

dougwilson commented Jan 1, 2013

The following file:

function next() {}
next.bind(null, new Error());

Triggers the following error (I think it is saying there is a syntax error?):

test.js: line 2, col 17, Unexpected 'new'.

1 error

@valueof valueof closed this in e18edb6 Jan 1, 2013


This comment has been minimized.

Copy link

valueof commented Jan 1, 2013

Thank you, that was indeed a bug!

jugglinmike added a commit to jugglinmike/jshint that referenced this issue Oct 21, 2014

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