diff options
Diffstat (limited to 'tests/untried/pos/t3866.scala')
-rw-r--r-- | tests/untried/pos/t3866.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/untried/pos/t3866.scala b/tests/untried/pos/t3866.scala index 140732499..f1f64edb9 100644 --- a/tests/untried/pos/t3866.scala +++ b/tests/untried/pos/t3866.scala @@ -2,8 +2,8 @@ abstract class ImplicitRepeated { trait T[+A, +B] trait X - def f[N, R <: List[_]](elems: T[N, R]*) // alternative a) - def f[N, R <: List[_]](props: String, elems: T[N, R]*) // alternative b) + def f[N, R <: List[_]](elems: T[N, R]*): Unit // alternative a) + def f[N, R <: List[_]](props: String, elems: T[N, R]*): Unit // alternative b) // the following implicit causes "cannot be applied" errors implicit def xToRight(r: X): T[Nothing, X] = null |