Commit efb9776
committed
Make TreeChecker happy
The failure comes from the tree checker, due to a limitation in subtyping checker:
```
dotty.tools.dotc.transform.init.Semantic.Hot.type
| (dotty.tools.dotc.transform.init.Semantic.Hot.type
| dotty.tools.dotc.transform.init.Semantic.Cold.type )
<:
dotty.tools.dotc.transform.init.Semantic.Hot.type
| dotty.tools.dotc.transform.init.Semantic.Cold.type
= false
```1 parent c1b83f6 commit efb9776
1 file changed
+6
-7
lines changedLines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
| 425 | + | |
427 | 426 | | |
428 | 427 | | |
429 | | - | |
| 428 | + | |
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
| |||
629 | 628 | | |
630 | 629 | | |
631 | 630 | | |
632 | | - | |
| 631 | + | |
633 | 632 | | |
634 | 633 | | |
635 | 634 | | |
| |||
652 | 651 | | |
653 | 652 | | |
654 | 653 | | |
655 | | - | |
| 654 | + | |
656 | 655 | | |
657 | 656 | | |
658 | | - | |
| 657 | + | |
659 | 658 | | |
660 | | - | |
| 659 | + | |
661 | 660 | | |
662 | 661 | | |
663 | 662 | | |
| |||
0 commit comments