Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error message for top-level private names
- Loading branch information
1 parent
1973ba3
commit 8e836dd
Showing
2 changed files
with
3 additions
and
9 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
...ser/test/fixtures/experimental/class-private-properties/undeclared-top-level/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": ["classPrivateProperties"], | ||
"throws": "Unexpected character '#' (1:15)" | ||
"throws": "Private name #priv is not defined (1:15)" | ||
} |