Commit 996bb15
committed
Compute the original qualifier type before erasure
The original qualifier type was computed in the wrong context. For the logic
to make sense, it needs to compute the type before erasure and then erase that
type. That fixes #17391 by now compiling it correctly, the same way Scala 2 does.1 parent 8231a48 commit 996bb15
File tree
3 files changed
+3
-1
lines changed- compiler/src/dotty/tools/dotc/transform
- tests/pos/i17391
3 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
767 | | - | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
768 | 770 | | |
769 | 771 | | |
770 | 772 | | |
| |||
File renamed without changes.
File renamed without changes.
0 commit comments