Commit 80a3a67
committed
Reclassify test
I believe #4674 had the wrong resolution. The test leads to spurious warnings for compiler-generated pattern matches.
I believe it's better to revert the decision and check only explicit isInstanceOf, never patterns.
Note the scalac does not check patterns either.1 parent b95c66e commit 80a3a67
1 file changed
+1
-1
lines changedLines 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 | | |
7 | 7 | | |
8 | 8 | | |
0 commit comments