Skip to content

Commit 0dc0502

Browse files
committed
fix CI
1 parent d8139fc commit 0dc0502

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pos-special/isInstanceOf/t2755.scala renamed to tests/neg-custom-args/isInstanceOf/t2755.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ object Test {
1717
case x: Array[String] => x.size
1818
case x: Array[AnyRef] => 5
1919
case x: Array[_] => 6
20-
case _ => 7
20+
case _ => 7 // error: only null is matched
2121
}
2222
def f3[T](a: Array[T]) = a match {
2323
case x: Array[Int] => x(0)
@@ -26,7 +26,7 @@ object Test {
2626
case x: Array[String] => x.size
2727
case x: Array[AnyRef] => 5
2828
case x: Array[_] => 6
29-
case _ => 7
29+
case _ => 7 // error: only null is matched
3030
}
3131

3232

0 commit comments

Comments
 (0)