Commit 810a396
committed
Fix superType of SuperType
I am not quite sure abput he previous definition of superType in SuperType.
I believe it's probably needed for something. But it's clearly wrong if
the `supertpe` argument does not have a symbol. We now fall back to the
default `superType = underlying` in this case.
Fixes $175551 parent aa74ac4 commit 810a396
File tree
2 files changed
+19
-1
lines changed- compiler/src/dotty/tools/dotc/core
- tests/run
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3005 | 3005 | | |
3006 | 3006 | | |
3007 | 3007 | | |
3008 | | - | |
| 3008 | + | |
| 3009 | + | |
3009 | 3010 | | |
3010 | 3011 | | |
3011 | 3012 | | |
| |||
| 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 | + | |
0 commit comments