-
Notifications
You must be signed in to change notification settings - Fork 786
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up duplicate parameter detection
- Loading branch information
Showing
21 changed files
with
42 additions
and
2,482 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
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
2 changes: 1 addition & 1 deletion
2
test/fixtures/ES6/arrow-function/array-binding-pattern/invalid-dup-param.failure.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"index":14,"lineNumber":1,"column":15,"message":"Error: Line 1: Strict mode function may not have duplicate parameter names","description":"Strict mode function may not have duplicate parameter names"} | ||
{"index":14,"lineNumber":1,"column":15,"message":"Error: Line 1: Unexpected token ILLEGAL","description":"Unexpected token ILLEGAL"} |
2 changes: 1 addition & 1 deletion
2
test/fixtures/ES6/arrow-function/invalid-duplicated-names-rest-parameter.failure.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"index":10,"lineNumber":1,"column":11,"message":"Error: Line 1: Strict mode function may not have duplicate parameter names","description":"Strict mode function may not have duplicate parameter names"} | ||
{"index":10,"lineNumber":1,"column":11,"message":"Error: Line 1: Unexpected token ILLEGAL","description":"Unexpected token ILLEGAL"} |
2 changes: 1 addition & 1 deletion
2
test/fixtures/ES6/arrow-function/invalid-duplicated-params.failure.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"index":6,"lineNumber":1,"column":7,"message":"Error: Line 1: Strict mode function may not have duplicate parameter names","description":"Strict mode function may not have duplicate parameter names"} | ||
{"index":6,"lineNumber":1,"column":7,"message":"Error: Line 1: Unexpected token ILLEGAL","description":"Unexpected token ILLEGAL"} |
1 change: 1 addition & 0 deletions
1
test/fixtures/ES6/binding-pattern/array-pattern/dupe-param.failure.json
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 @@ | ||
{"index":31,"lineNumber":2,"column":18,"message":"Error: Line 2: Duplicate parameter name not allowed in this context","description":"Duplicate parameter name not allowed in this context"} |
Oops, something went wrong.