Skip to content

Commit 3bd6afe

Browse files
committed
Make test a run test
1 parent 05cd85b commit 3bd6afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pos/i3539.scala renamed to tests/run/i3539.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
object Test {
22
def main(args: Array[String]): Unit = {
33
val i2s = (x: Int) => ""
4-
assert(asInstanceOf.asInstanceOf[AnyRef => String].apply(null) == "")
4+
assert(i2s.asInstanceOf.asInstanceOf[AnyRef => String].apply(null) == "")
55
val i2i = (x: Int) => x + 1
66
assert(i2i.asInstanceOf[AnyRef => Int].apply(null) == 1)
77
}

0 commit comments

Comments
 (0)