-
Notifications
You must be signed in to change notification settings - Fork 787
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
TryStatement should use handler instead of handlers #1030
Milestone
Comments
Since this a breaking change for Esprima (requiring a major version bump), I will also file an issue for a transition step. |
I've updated it so that the empty |
From our downstream tests, this is going to break (at least) js2cofee and webpack. I plan to propose a change to those projects before changing this. |
This was referenced Oct 31, 2015
ariya
added a commit
to ariya/esprima
that referenced
this issue
Nov 4, 2015
ariya
added a commit
to ariya/esprima
that referenced
this issue
Nov 5, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
TryStatement
node has changed according to estree/estree#1 fromto
The differences are:
handlers
(an array ofCatchClause
) is changed tohandler
(a singleCatchClause
, if any)guardedHandlers
is goneSee also https://bugzilla.mozilla.org/show_bug.cgi?id=742612.
(Migrated from https://code.google.com/p/esprima/issues/detail?id=433)
The text was updated successfully, but these errors were encountered: