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

Fix property double assignment #26

Merged
merged 4 commits into from
Nov 1, 2023
Merged

Conversation

DimaIT
Copy link
Member

@DimaIT DimaIT commented Oct 31, 2023

Double assignment is not parsed correctly in class' property definition.

class A { b = c = d; } is parsed like class A { b = c; = d; } which is not a valid AST.

This PR fixes it along with other possible assignment operators.

@DimaIT DimaIT requested review from qguv and ypapouski October 31, 2023 17:34
@DimaIT DimaIT requested review from pmenichelli and removed request for qguv November 1, 2023 09:45
Copy link
Contributor

@ypapouski ypapouski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@DimaIT DimaIT merged commit 2ae782d into master Nov 1, 2023
0 of 3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants