-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the "convertEs6TypedToEs6" to the very start of compilation.
This change is to prevent passes which don't support TS syntax features (essentially all of them) from ever receiving code containing those features. Currently those passes ignore this condition, however a followup change will make that an error. It is also necessary to update how the pass operates on rest parameters. Previously, it was generating unrecognized type annotations; they were being attached to the wrong node. This has been corrected. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=232744013
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 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