We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1595cae + 26c8630 commit 22b9b01Copy full SHA for 22b9b01
compiler/test-resources/repl/i13208.scala
@@ -1,10 +1,5 @@
1
// scalac: -source:future -deprecation
2
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
8
scala> type N[X] = X match { case List[_] => Int }
9
1 warning found
10
-- Deprecation Warning: --------------------------------------------------------
0 commit comments