Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make union types more efficient by eliminating unnecessary redundancy.
This change modifies union types to always leave structural subtypes in the union. This can result in additional types errors if the previously collapsed type provides a definition for a property or if the collapsed type was @struct (as any @struct member of the union causes the member to be considered @struct). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=242546590
- Loading branch information
1 parent
e036fe1
commit 0eabec0
Showing
6 changed files
with
110 additions
and
173 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
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.