Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inline require'd symbols when rewriting ES6 modules.
This is needed as some later stages of the compiler specifically check for well-known Closure properties, such as goog.asserts.assert. So `const {assert} = goog.require('goog.asserts'); assert(0);` must be rewritten to `goog.asserts.assert(0);` to be recognized correctly later. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=205671584
- Loading branch information
johnplaisted
authored and
Bradford Smith
committed
Jul 23, 2018
1 parent
3895113
commit 06c5561
Showing
3 changed files
with
110 additions
and
27 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