Commit 7b9853a
committed
Stop rewriting withFilter to filter
This was dropped for Scala 2 in scala/scala#5252 for 2.12.0-RC1, as discussed
for instance in scala/bug#6455 and scala/bug#8339.
Beyond this code, also remove `MaybeFilter` attachment and attending code
introduced in fcea3d5.
A caveat is that, unexpectedly, this code was added in 2016-08-24, after
scala/scala#5252 was merged, as if the decision was reversed; but #1461 says:
> Also, I went through tests in pending/pos and reclassified as far as possible.
So I assume this just happened because the Scala 2 PR didn't remove our pending
test.1 parent be6ae0e commit 7b9853a
File tree
5 files changed
+3
-36
lines changed- compiler/src/dotty/tools/dotc
- ast
- typer
- tests
- neg
- pos
- untried/neg
5 files changed
+3
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 20 | | |
27 | 21 | | |
28 | 22 | | |
| |||
992 | 986 | | |
993 | 987 | | |
994 | 988 | | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | 989 | | |
1002 | 990 | | |
1003 | 991 | | |
| |||
1028 | 1016 | | |
1029 | 1017 | | |
1030 | 1018 | | |
1031 | | - | |
| 1019 | + | |
1032 | 1020 | | |
1033 | 1021 | | |
1034 | 1022 | | |
| |||
1085 | 1073 | | |
1086 | 1074 | | |
1087 | 1075 | | |
1088 | | - | |
| 1076 | + | |
1089 | 1077 | | |
1090 | 1078 | | |
1091 | 1079 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | 465 | | |
471 | 466 | | |
472 | 467 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
This file was deleted.
This file was deleted.
0 commit comments