Commit 08774c8
committed
Fix MatchError: InfixOp on TreeAccumulator
In case of errors it may be that typed trees point to untyped ones.
I think it makes sense to avoid the MatchError in that case, not only in
Interative mode.1 parent 40011e2 commit 08774c8
File tree
2 files changed
+5
-1
lines changed- compiler/src/dotty/tools/dotc/ast
- tests/neg
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
1328 | | - | |
| 1328 | + | |
1329 | 1329 | | |
1330 | 1330 | | |
1331 | 1331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments