Commit 76130f5
committed
Fix calculation to drop transparent classes
Two fixes:
1. Don't forget about refinements
2. Don't dealias
Fixes #16342
The first fix is essential for $16342. The second fix is just to keep
types tidy and not open aliases needlessly.
The previous incorrect version hid errors in previous regressions #15365 and #16311
which will need to be re-opened now.1 parent 970d119 commit 76130f5
File tree
4 files changed
+26
-7
lines changed- compiler/src/dotty/tools/dotc/core
- tests
- pending/pos
- pos
4 files changed
+26
-7
lines changedLines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
561 | | - | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
562 | 564 | | |
563 | 565 | | |
564 | 566 | | |
| |||
572 | 574 | | |
573 | 575 | | |
574 | 576 | | |
575 | | - | |
576 | | - | |
577 | | - | |
| 577 | + | |
| 578 | + | |
578 | 579 | | |
579 | | - | |
| 580 | + | |
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
583 | 584 | | |
584 | 585 | | |
585 | 586 | | |
586 | | - | |
| 587 | + | |
587 | 588 | | |
588 | 589 | | |
589 | 590 | | |
| |||
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments