From 26c863072abb2cd97fe39565ac1a7bcb2fbd6dcb Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Mon, 24 Jan 2022 13:57:18 +0100 Subject: [PATCH] Fix test output The warning was removed in #12261 Fixes #14332 --- compiler/test-resources/repl/i13208.scala | 5 ----- 1 file changed, 5 deletions(-) diff --git a/compiler/test-resources/repl/i13208.scala b/compiler/test-resources/repl/i13208.scala index 6401d23bcfe4..ce4fcf0d9ed8 100644 --- a/compiler/test-resources/repl/i13208.scala +++ b/compiler/test-resources/repl/i13208.scala @@ -1,10 +1,5 @@ // 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: --------------------------------------------------------