-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For singleton types make Const(T.instance) and T equivalent as lattic…
…e elements (#27296) Both inference and the optimizer will readily change the latter to the former in a number of places and it is important for the type lattice to consider them equivalent in order for that operation to be not cause potential assertion errors.
- Loading branch information
1 parent
71b5e83
commit 993c551
Showing
2 changed files
with
6 additions
and
0 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