Skip to content

Commit 0bbc858

Browse files
committed
Add test that succeeds
1 parent faa7078 commit 0bbc858

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/pos/array-overload.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class Test {
2+
object A {
3+
def apply(x: Byte, xs: Byte*): Array[Byte] = ???
4+
def apply(x: Int, xs: Int*): Array[Int] = ???
5+
}
6+
7+
val x: Array[Byte] = A.apply(1, 2)
8+
}

0 commit comments

Comments
 (0)