diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-09-03 14:13:53 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-09-04 08:10:13 +0200 |
commit | e9a6fbb42f5214995d63dfee476c44b0564a0856 (patch) | |
tree | aeffb1cbec473fa16799c35cfae38443f06c3287 /test/files/jvm/varargs/VaClass.scala | |
parent | 2f78ddd3d011457b9afb0078f20e3b612f1e087e (diff) | |
download | scala-e9a6fbb42f5214995d63dfee476c44b0564a0856.tar.gz scala-e9a6fbb42f5214995d63dfee476c44b0564a0856.tar.bz2 scala-e9a6fbb42f5214995d63dfee476c44b0564a0856.zip |
SI-8786 disable part of test that's failing the jdk8 build
Diffstat (limited to 'test/files/jvm/varargs/VaClass.scala')
-rw-r--r-- | test/files/jvm/varargs/VaClass.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/jvm/varargs/VaClass.scala b/test/files/jvm/varargs/VaClass.scala index e94e8a625a..d83e63ace1 100644 --- a/test/files/jvm/varargs/VaClass.scala +++ b/test/files/jvm/varargs/VaClass.scala @@ -9,5 +9,7 @@ class VaClass { @varargs def vs(a: Int, b: String*) = println(a + b.length) @varargs def vi(a: Int, b: Int*) = println(a + b.sum) @varargs def vt[T](a: Int, b: T*) = println(a + b.length) - @varargs def vt1[T](a: Int, b: T*): T = b.head + + // TODO remove type bound after fixing SI-8786, see also https://github.com/scala/scala/pull/3961 + @varargs def vt1[T <: String](a: Int, b: T*): T = b.head } |