Commit e41bf9a
committed
Survive bottom values in pattern matches
See test case. This caused two spurious overloding errors,
one when looking for equality evidence and then again in the
emit method of the pattern matcher.
A spurious error was also eliminated in neg/ensureReported.scala.1 parent 45fbf3e commit e41bf9a
File tree
4 files changed
+14
-3
lines changed- compiler/src/dotty/tools/dotc
- ast
- typer
- tests/neg
4 files changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
828 | 831 | | |
829 | 832 | | |
830 | 833 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2650 | 2650 | | |
2651 | 2651 | | |
2652 | 2652 | | |
2653 | | - | |
| 2653 | + | |
| 2654 | + | |
2654 | 2655 | | |
2655 | 2656 | | |
2656 | 2657 | | |
| |||
| 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 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
0 commit comments