Repository navigation
Commit 61c1856
committed
Order instantiated anonymous types by the types they instantiate
Instantiations of distinct object literal types made by the same
declaration, such as the copies a call makes when it infers from an
argument twice, were ordered only by their mappers. Instantiations with
mappers of the same content then compared as equal and fell back to
the type id (seen in t3code). They are now ordered by the type they
instantiate first.1 parent 11d1ab7 commit 61c1856
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
664 | 669 | | |
665 | 670 | | |
666 | 671 | | |
| |||
0 commit comments