Skip to content

Commit 237aaad

Browse files
committed
Fix CI: Make test fail
1 parent a3b235c commit 237aaad

File tree

1 file changed

+4
-0
lines changed
  • tests/neg-custom-args/fatal-warnings/i12188

1 file changed

+4
-0
lines changed

tests/neg-custom-args/fatal-warnings/i12188/Test.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ case class PC1(a: String) extends P
33
case class PC2(b: Int) extends P
44

55
def Test = MatchTest.test(PC2(10): P)
6+
7+
def foo(x: P): Unit =
8+
x match // error
9+
case _: PC1 =>

0 commit comments

Comments
 (0)