forked from jquery/esprima
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes jquery#1201: Fixes incorrect ranges
Fixes jquery#1201: fixes incorrect ranges due to incorrect usage of `new WrappingNode`. Fixes jquery#1193: Incorrect error when using destructuring multiple times in params Closes jquerygh-1213
- Loading branch information
1 parent
5e36d06
commit 06adb24
Showing
12 changed files
with
1,832 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
test/fixtures/ES6/binding-pattern/array-pattern/dupe-param.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"use strict"; | ||
function a([a,a]){ } | ||
function a([a,...a]){ } | ||
function a([{a},...a]){ } |
Oops, something went wrong.