Skip to content

Commit

Permalink
Fix repl test
Browse files Browse the repository at this point in the history
Fixes a previous breakage due to a recent merge of @12261
  • Loading branch information
odersky committed Jan 24, 2022
1 parent a37e587 commit baf8f9d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions compiler/test-resources/repl/i13208.scala
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// scalac: -source:future -deprecation
scala> type M[X] = X match { case Int => String case _ => Int }
1 warning found
-- Deprecation Warning: --------------------------------------------------------
1 | type M[X] = X match { case Int => String case _ => Int }
| ^
| `_` is deprecated for wildcard arguments of types: use `?` instead

scala> type N[X] = X match { case List[_] => Int }
1 warning found
-- Deprecation Warning: --------------------------------------------------------
Expand Down

0 comments on commit baf8f9d

Please sign in to comment.