Skip to content

Commit 198817b

Browse files
committed
Fix test error annotation
1 parent 60be18c commit 198817b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg/patmat.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ object Test {
1212
ca match {
1313
case x: B =>
1414
case X() =>
15-
case D() => // error: neither a subtype not a supertype
15+
case D() => // ok, but scalac disagrees
1616
}
1717
val cc = new C
1818
cc match {

0 commit comments

Comments
 (0)