forked from babel/babel
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This impact private fields as well as smart pipeline, providing a clearer error message for both.
- Loading branch information
1 parent
ba5642d
commit 25d0146
Showing
4 changed files
with
8 additions
and
13 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
2 changes: 1 addition & 1 deletion
2
.../test/fixtures/experimental/class-private-properties/failure-numeric-literal/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,4 +1,4 @@ | ||
{ | ||
"throws": "Unexpected token (2:3)", | ||
"throws": "Unexpected digit after hash token (2:2)", | ||
"plugins": [ "classPrivateProperties" ] | ||
} |
2 changes: 1 addition & 1 deletion
2
...tures/experimental/class-private-properties/failure-numeric-start-identifier/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,4 +1,4 @@ | ||
{ | ||
"throws": "Identifier directly after number (2:4)", | ||
"throws": "Unexpected digit after hash token (2:2)", | ||
"plugins": ["classPrivateProperties"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...ipeline-operator/proposal-smart-error,-invalid-hash-token,-followed-by-digit/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,4 +1,4 @@ | ||
{ | ||
"plugins": [["pipelineOperator", { "proposal": "smart" }]], | ||
"throws": "Unexpected digit after topic reference: '#4' (1:5)" | ||
"throws": "Unexpected digit after hash token (1:5)" | ||
} |