-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report an undefined variable error for "() => y" in VarCheck
Previously VarCheck was allowing anything that was the child of a function expression to be an undeclared name, not just the function name. Now it correctly reports an error for "() => y" and adds the undeclared name "y" to the externs. Fixes #2843 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188941589
- Loading branch information
1 parent
4a6cbb1
commit 996b562
Showing
2 changed files
with
7 additions
and
3 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