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 paren in expression throws TypeError #58
Comments
@xjamundx do you want to take a look at this? |
Will totally check this out. Though here's what I'm seeing in Chrome with the same code: Also some weird stuff here in the result: I suppose the expected behavior is "not crash" though :) |
@xjamundx if run eslint with |
FYI this was solved in the destructuring PR |
I'll write some tests to ensure it |
Ooh nice, thanks for the update. |
Test: incorrectly parsed arrow fragment (refs #58)
The following example crashes eslint (caused by the last line in the file):
with error
Looks like parentheses in the end of the line
left = (aSize.width / 2) - ()
treated asArrowParameterPlaceHolder
https://www.dropbox.com/s/0oltkd0vbdo0iew/Screenshot%202015-02-10%2018.51.52.png?dl=0
eslint/eslint#1816
AtomLinter/linter-eslint#28
The text was updated successfully, but these errors were encountered: