We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26dbd77 commit 26c8630Copy full SHA for 26c8630
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