Commit 5becaac
committed
Update check-files and remove i18488.scala
i18488.scala was only passing because of the bug in the MatchReducer,
as we can see in the subtyping trace:
```
==> isSubType TableQuery[BaseCrudRepository.this.EntityTable] <:< Query[BaseCrudRepository.this.EntityTable, E[Option]]?
==> isSubType Query[BaseCrudRepository.this.EntityTable, Extract[BaseCrudRepository.this.EntityTable]] <:<
Query[BaseCrudRepository.this.EntityTable, E[Option]] (left is approximated)?
==> isSubType E[Option] <:< Extract[BaseCrudRepository.this.EntityTable]?
==> isSubType [T[_$1]] =>> Any <:< Extract?
==> isSubType Any <:< Extract[T]?
==> isSubType Any <:< T match { case AbstractTable[t] => t } <: t (right is approximated)?
==> isSubType Any <:< <error Match type reduction failed since selector T
matches none of the cases
case AbstractTable[t] => t> (right is approximated)?
<== isSubType Any <:< <error Match type reduction failed since selector T
matches none of the cases
case AbstractTable[t] => t> (right is approximated) = true
<== isSubType Any <:< T match { case AbstractTable[t] => t } <: t (right is approximated) = true
<== isSubType Any <:< Extract[T] = true
<== isSubType [T[_$1]] =>> Any <:< Extract = true
...
<== isSubType Extract[BaseCrudRepository.this.EntityTable] <:< E[Option] = true
<== isSubType Query[BaseCrudRepository.this.EntityTable, Extract[BaseCrudRepository.this.EntityTable]] <:<
Query[BaseCrudRepository.this.EntityTable, E[Option]] (left is approximated) = true
<== isSubType TableQuery[BaseCrudRepository.this.EntityTable] <:< Query[BaseCrudRepository.this.EntityTable, E[Option]] = true
```1 parent 7460ab3 commit 5becaac
File tree
3 files changed
+4
-19
lines changed- tests
- neg
- pos
3 files changed
+4
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
This file was deleted.
0 commit comments