-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[FIX]] Parse semicolons in class bodies
Although the semicolon token may appear in class bodies in valid ES6 code, it serves no purpose. Extend the parser to accept this token, but emit the same warning used for unnecessary semicolons appearing elsewhere. This warning may be disabled by the end user if desired.
- Loading branch information
1 parent
dd768c2
commit 58c8e64
Showing
2 changed files
with
34 additions
and
0 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