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

[JavaScript] Fix comma after ternary expression #3986

Merged

Conversation

deathaxe
Copy link
Collaborator

@deathaxe deathaxe commented May 9, 2024

Fixes #3985

This PR sets expression instead of expression-no-comma onto stack after ternary expressions, so they can appear in the middle of sequences.

@deathaxe deathaxe merged commit 3c25c09 into sublimehq:master May 9, 2024
2 checks passed
@deathaxe deathaxe deleted the pr/javascript/fix-comma-after-ternary branch May 9, 2024 16:10
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.

bug in syntax of javascript
3 participants