Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 9753f23

Browse files
committed
Merge pull request scala#3961 from lrytz/t8786-disable-test
SI-8786 disable part of thest that's failing the jdk8 build
2 parents a66f5df + e9a6fbb commit 9753f23

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/files/jvm/varargs/VaClass.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ class VaClass {
99
@varargs def vs(a: Int, b: String*) = println(a + b.length)
1010
@varargs def vi(a: Int, b: Int*) = println(a + b.sum)
1111
@varargs def vt[T](a: Int, b: T*) = println(a + b.length)
12-
@varargs def vt1[T](a: Int, b: T*): T = b.head
12+
13+
// TODO remove type bound after fixing SI-8786, see also https://github.com/scala/scala/pull/3961
14+
@varargs def vt1[T <: String](a: Int, b: T*): T = b.head
1315
}

0 commit comments

Comments
 (0)