Commit 7e1c4ca
committed
Fix isAliasType
Symbols that had the TypeParam flag set were classified as alias types unless they also had
the Deferred flag set. Maybe this did not break that much since Namer always added the Deferred
for type parameters. But export forwarders use synthesized parameters which did not have Deferred
set.1 parent 4c2305d commit 7e1c4ca
File tree
3 files changed
+13
-1
lines changed- compiler/src/dotty/tools/dotc/core
- tests/neg/i20079
3 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
| 692 | + | |
| 693 | + | |
693 | 694 | | |
694 | 695 | | |
695 | 696 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments