Skip to content

Commit 7309b35

Browse files
committed
move test to be fatal-warnings
1 parent 4eaab9b commit 7309b35

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/pos/i8956.scala renamed to tests/pos-special/fatal-warnings/i8956.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ def check1(i: Double | Int | String): Unit = {
88
case _ => println("categorical")
99
}
1010
}
11-
/*
12-
[warn] 25 | case a:Numeric => println(s"numeric = $a")
13-
[warn] | ^^^^^^^^^
14-
[warn] | the type test for gg.SlidingIssue.Numeric cannot be checked at runtime
15-
[warn] one warning found
16-
*/
1711
def check2(i: Double | Int | String): Unit = {
1812
i match {
1913
case a:Numeric => println(s"numeric = $a")

0 commit comments

Comments
 (0)