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 a37e587 commit baf8f9dCopy full SHA for baf8f9d
compiler/test-resources/repl/i13208.scala
@@ -1,10 +1,6 @@
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