-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent detecting static closures when looking for static variables (#…
…281) * Add test for static function inside array_map * Prevent detecting a static closure as a static variable * Improve documentation of processVariableAsStaticDeclaration * Treat open paren as start of statement for static detection * Add tests for static arrow functions followed by variable defs * Also ignore static anonymous arrow functions
- Loading branch information
1 parent
aaf9022
commit 6273088
Showing
2 changed files
with
55 additions
and
11 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