Commit 0732386
committed
Merge multiple parameter lists in resolveOverloaded
Resolve overloaded does an applicability test which can make use of only a single
type parameter list. When going deeper into several alternatives that contain a common
prefex we might uncover other type parameter lists. These need to be merged.1 parent 5b46900 commit 0732386
File tree
2 files changed
+10
-2
lines changed- compiler/src/dotty/tools/dotc/typer
- tests/pos
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1903 | 1903 | | |
1904 | 1904 | | |
1905 | 1905 | | |
1906 | | - | |
| 1906 | + | |
1907 | 1907 | | |
1908 | 1908 | | |
1909 | 1909 | | |
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
1977 | | - | |
| 1977 | + | |
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments