Commit a54fac4
committed
Perform subtype comparisons in same order as before.
Interestingly, swapping the order in which argument subtypes were tested in
`isSubArg` caused
- one exhaustivity failure (patmat/i9631.scala)
- one failed compile in the community build (libretto).
- one reclassification of a neg test to a pos test (i15365.scala)
We should find out at some point why, when we have the time.1 parent 2165c4f commit a54fac4
File tree
2 files changed
+17
-19
lines changed- compiler/src/dotty/tools/dotc/core
- tests/neg-custom-args/allow-deep-subtypes
2 files changed
+17
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1566 | 1566 | | |
1567 | 1567 | | |
1568 | 1568 | | |
1569 | | - | |
1570 | | - | |
1571 | | - | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
1572 | 1572 | | |
1573 | 1573 | | |
1574 | 1574 | | |
| |||
2034 | 2034 | | |
2035 | 2035 | | |
2036 | 2036 | | |
| 2037 | + | |
2037 | 2038 | | |
2038 | | - | |
2039 | | - | |
2040 | | - | |
2041 | | - | |
2042 | | - | |
2043 | | - | |
2044 | | - | |
2045 | | - | |
2046 | | - | |
2047 | | - | |
2048 | | - | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
2052 | | - | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
2053 | 2051 | | |
2054 | 2052 | | |
2055 | 2053 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
0 commit comments