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

Commit e9a6fbb

Browse files
committed
SI-8786 disable part of test that's failing the jdk8 build
1 parent 2f78ddd commit e9a6fbb

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)