Commit fbe06c0
authored
Don't search for implicit conversions to NoType (#19563)
There's a good chance this will fix #19320. My problem is that without a
lot of added boilerplate I cannot test it, since it's hard to have at
the same time external dependencies and ad-hoc instrumentation in the
compiler. But what I could observe from the minimized example, it
searches for a conversion of `Concurrent[F[_]]` to `NoType` and that
must have caused the blowup.
In any case, the change makes obvious sense, so let's add that and see
whether it improves things.File tree
2 files changed
+16
-1
lines changed- compiler/src/dotty/tools/dotc/typer
- tests/neg
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | | - | |
| 1077 | + | |
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
| |||
| 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 | + | |
0 commit comments