forked from jshint/jshint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in parsing of concise methods
When the ES6 concise method syntax is used to declare a method, no new entry is created in the local environment record. Because of this, the method name should *not* be interpreted as a local variable, and declaring a variable of that name should raise no warnings. Resolves jshintgh-2022
- Loading branch information
1 parent
41e5a45
commit b95f669
Showing
2 changed files
with
15 additions
and
1 deletion.
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