Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make TypedScopeCreator a little more readable.
* Move the call to Node#setJSType out of the DeferredSetType constructor (which is a surprising side effect) and directly into the deferredSetType() method. * Factor the call to NodeTraversal#traverseTyped into AbstractScopeBuilder#build and consolidate how global and local scopes are treated. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180769654
- Loading branch information
Showing
1 changed file
with
14 additions
and
12 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