Skip to content

Commit baf8f9d

Browse files
committed
Fix repl test
Fixes a previous breakage due to a recent merge of @12261
1 parent a37e587 commit baf8f9d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

compiler/test-resources/repl/i13208.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
// scalac: -source:future -deprecation
22
scala> type M[X] = X match { case Int => String case _ => Int }
3-
1 warning found
4-
-- Deprecation Warning: --------------------------------------------------------
5-
1 | type M[X] = X match { case Int => String case _ => Int }
6-
| ^
7-
| `_` is deprecated for wildcard arguments of types: use `?` instead
3+
84
scala> type N[X] = X match { case List[_] => Int }
95
1 warning found
106
-- Deprecation Warning: --------------------------------------------------------

0 commit comments

Comments
 (0)