Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for 'syntactic' inference of /** @const */ types for .i.j…
…s files. The idea of this is to allow .i.js generation to work better with type-checking turned off, allowing faster builds. This initial version only supports inferring the type of a literal RHS, but it should be easy to extend this support to work on an RHS of a simple name that has a declared type. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127355199
- Loading branch information
Showing
2 changed files
with
96 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