Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5a7b29
commit 5b66255
Showing
27 changed files
with
96 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,6 +183,9 @@ | |
] | ||
} | ||
], | ||
"extra": { | ||
"trailingComma": 28 | ||
}, | ||
"trailingComments": [ | ||
{ | ||
"type": "CommentBlock", | ||
|
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 |
---|---|---|
|
@@ -128,6 +128,9 @@ | |
] | ||
} | ||
], | ||
"extra": { | ||
"trailingComma": 24 | ||
}, | ||
"trailingComments": [ | ||
{ | ||
"type": "CommentBlock", | ||
|
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 |
---|---|---|
|
@@ -181,6 +181,9 @@ | |
} | ||
} | ||
], | ||
"extra": { | ||
"trailingComma": 35 | ||
}, | ||
"trailingComments": [ | ||
{ | ||
"type": "CommentBlock", | ||
|
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 |
---|---|---|
|
@@ -309,7 +309,10 @@ | |
} | ||
] | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 66 | ||
} | ||
} | ||
} | ||
], | ||
|
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 |
---|---|---|
|
@@ -163,7 +163,10 @@ | |
} | ||
] | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 13 | ||
} | ||
} | ||
}, | ||
"trailingComments": [ | ||
|
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 |
---|---|---|
|
@@ -110,7 +110,10 @@ | |
}, | ||
"value": 42 | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 8 | ||
} | ||
} | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -150,7 +150,10 @@ | |
}, | ||
"value": 3 | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 13 | ||
} | ||
} | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -151,7 +151,10 @@ | |
}, | ||
"value": 3 | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 14 | ||
} | ||
} | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -90,7 +90,10 @@ | |
"name": "a" | ||
} | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 5 | ||
} | ||
} | ||
} | ||
], | ||
|
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 |
---|---|---|
|
@@ -91,7 +91,10 @@ | |
"name": "x" | ||
}, | ||
null | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 3 | ||
} | ||
}, | ||
"right": { | ||
"type": "NumericLiteral", | ||
|
4 changes: 2 additions & 2 deletions
4
...rser/test/fixtures/es2017/async-functions/params-invalid-rest-trailing-comma/options.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,3 +1,3 @@ | ||
{ | ||
"throws": "Rest element must be last element (1:11)" | ||
} | ||
"throws": "Rest element must be last element (1:12)" | ||
} |
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 |
---|---|---|
|
@@ -132,7 +132,10 @@ | |
}, | ||
"value": 2 | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 14 | ||
} | ||
} | ||
} | ||
], | ||
|
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 |
---|---|---|
|
@@ -183,7 +183,10 @@ | |
"shorthand": true | ||
} | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 10 | ||
} | ||
}, | ||
"init": { | ||
"type": "Identifier", | ||
|
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 |
---|---|---|
|
@@ -289,6 +289,7 @@ | |
} | ||
], | ||
"extra": { | ||
"trailingComma": 21, | ||
"parenthesized": true, | ||
"parenStart": 0 | ||
} | ||
|
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 |
---|---|---|
|
@@ -92,6 +92,7 @@ | |
} | ||
], | ||
"extra": { | ||
"trailingComma": 6, | ||
"parenthesized": true, | ||
"parenStart": 0 | ||
} | ||
|
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 |
---|---|---|
|
@@ -78,7 +78,10 @@ | |
"elements": [ | ||
null, | ||
null | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 3 | ||
} | ||
} | ||
], | ||
"body": { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,6 +166,7 @@ | |
} | ||
], | ||
"extra": { | ||
"trailingComma": 33, | ||
"parenthesized": true, | ||
"parenStart": 0 | ||
} | ||
|
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 |
---|---|---|
|
@@ -169,6 +169,7 @@ | |
} | ||
], | ||
"extra": { | ||
"trailingComma": 35, | ||
"parenthesized": true, | ||
"parenStart": 0 | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,7 +110,10 @@ | |
}, | ||
"value": 42 | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 8 | ||
} | ||
} | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -150,7 +150,10 @@ | |
}, | ||
"value": 3 | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 13 | ||
} | ||
} | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -151,7 +151,10 @@ | |
}, | ||
"value": 3 | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 14 | ||
} | ||
} | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -157,7 +157,10 @@ | |
}, | ||
"value": 123 | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 24 | ||
} | ||
} | ||
} | ||
], | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -450,7 +450,10 @@ | |
] | ||
} | ||
} | ||
] | ||
], | ||
"extra": { | ||
"trailingComma": 77 | ||
} | ||
} | ||
} | ||
], | ||
|