Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove special member collection in TypedScopeCreator.LocalScopeBuilder
As noted in the TODO, this was papering over an issue where we skipped declaring properties on instance objects. The correct fix is to also declare the property if the owner is THIS. This clears the way for unifying LocalScopeBuilder and GlobalScopeBuilder into a single NormalScopeBuilder. We can then pull out FunctionScopeBuilder and ClassScopeBuilder with significantly less logic in them. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198132934
- Loading branch information
1 parent
333b569
commit 63a360b
Showing
2 changed files
with
43 additions
and
66 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