Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle multivariate let/const declaration renaming during transpilation
Note: The Es6SplitVariableDeclarations pass normalizes multivariate declarations with at least one destructuring pattern. I didn't just add let/const declaration normalization to that pass because it doesn't handle declarations outside of a statement block. (e.g. in a for-loop header or label). Fixes #2969 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200105402
- Loading branch information
1 parent
c09332c
commit b3146ab
Showing
3 changed files
with
149 additions
and
75 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
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