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] Add handling for incomplete control statements. #1590

Merged
merged 1 commit into from
Jun 18, 2018

Conversation

Thom1729
Copy link
Collaborator

Effectively makes parenthesized parts of control statements optional, improving behavior when typing. Fixes #1589.

This also suffices to implement the TC39 optional catch binding proposal.

@user-982634
Copy link

Thanks! but I really need to mention here: "improving behavior when typing." - it is not only when typing, incomplete catch blocks are valid javascript syntax, you can find more about it on tc39, they already approved it.....

@wbond wbond merged commit 94e9454 into sublimehq:master Jun 18, 2018
@Thom1729 Thom1729 deleted the javascript-incomplete-statements branch June 18, 2018 17:38
charlievieth pushed a commit to charlievieth/Packages that referenced this pull request Jul 25, 2018
deathaxe pushed a commit to deathaxe/sublime-packages that referenced this pull request Jun 9, 2019
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