Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure LinkedFlowScope and TypeInference to prepare for block-sc…
…ope support. * LinkedFlowScope gets a new syntacticScope field, which determines the block scope for name lookups and is populated (and read) by TypeInference upon flowing into a node, via a new parameter to FlowScope#createChildFlowScope. * TypeInference now has to deal with multiple scopes, so some special handling for "declaratively unbound vars" has been factored out. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=191409809
- Loading branch information
1 parent
b2837ba
commit 5a68bc0
Showing
5 changed files
with
177 additions
and
95 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
Oops, something went wrong.