Commit f036195
authored
SimplePattern errors should now be recovered as wildcard instead of unimplemented expr (#21438)
We should not emit more errors that came from our error recovery term
trees.
Previously, we've recovered those situations with unimplemented
expression term added in #19103
and before that it was just a `null`1 parent 1604e77 commit f036195
File tree
3 files changed
+2
-3
lines changed- compiler/src/dotty/tools/dotc/parsing
- tests/neg
3 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3198 | 3198 | | |
3199 | 3199 | | |
3200 | 3200 | | |
3201 | | - | |
| 3201 | + | |
3202 | 3202 | | |
3203 | 3203 | | |
3204 | 3204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
0 commit comments