-
Notifications
You must be signed in to change notification settings - Fork 68
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
regression with parens in 3.0.0-prerelease.7
#234
Comments
Maybe related #233 |
Hi @evilebottnawi, Not sure it's a bug as it's not the same expression. First takes the offset 0 from the new created object, second creates an object from the offset 0 of the constant foo (this should not be a valid syntax).
For the first the AST is :
The what is expected to be a
As the debug is not easy, I've added a vscode configuration to run step by step the The reason of the bug is that |
bug introduced here : #220 |
Here the bug is fixed on both cases, but means that the previous bug with Before closing it, we should add more tests over new & instanceof keywords because I'm almost sure that's it not yet correct. |
released in |
Input:
Difference ast for first and second (for first
identifier
, for secondclassreference
)The text was updated successfully, but these errors were encountered: