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

ast.NewExpression.Idx1() not set if new expression ArgumentList is missing. #261

Closed
nabhanelrahman opened this issue Jun 29, 2017 · 1 comment

Comments

@nabhanelrahman
Copy link

Example javascript code is:

var i = new Image;

stevenh added a commit that referenced this issue Nov 29, 2022
Fix invalid Idx1() return for NewExpression when there are no
parenthesis.

Fixes #261
@stevenh
Copy link
Collaborator

stevenh commented Nov 29, 2022

Nice spot!

sg3des pushed a commit to sg3des/otto that referenced this issue Jul 17, 2023
Fix invalid Idx1() return for NewExpression when there are no
parenthesis.

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

No branches or pull requests

2 participants