Commit 6ff32d6
committed
Fix #3930: Handle multiple type arguments in overloading resolution
The error message for the neg case is a bit weird, (it complains about an
ambiguity error), but improving it would require considerable complications,
which I don't think are worth it at the present time.1 parent a09f385 commit 6ff32d6
File tree
3 files changed
+16
-2
lines changed- compiler/src/dotty/tools/dotc/typer
- tests
- neg
- run
3 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1388 | 1388 | | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | | - | |
1392 | | - | |
| 1391 | + | |
1393 | 1392 | | |
1394 | 1393 | | |
1395 | 1394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments