Commit eac33f0
committed
Make compareHK work if other side is already a lambda.
There ws a missing case, where a lambda projection `T#Apply` is compared
to something to a type lambda. In that case we should compare
the prefix `T` directly wiht the type lambda.
With that modification i553 works if the canBuildFrom implicit is imported.
But the implicit is not yet found in the type scope.1 parent fc5cd47 commit eac33f0
File tree
2 files changed
+21
-6
lines changed- src/dotty/tools/dotc/core
- tests/pos
2 files changed
+21
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
471 | | - | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
472 | 475 | | |
473 | 476 | | |
474 | 477 | | |
475 | 478 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
480 | 487 | | |
481 | 488 | | |
482 | 489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments