diff options
Diffstat (limited to 'tests/untried/pos/t7782b.scala')
-rw-r--r-- | tests/untried/pos/t7782b.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/t7782b.scala b/tests/untried/pos/t7782b.scala index 09da4a5c5..5b1979ec1 100644 --- a/tests/untried/pos/t7782b.scala +++ b/tests/untried/pos/t7782b.scala @@ -15,7 +15,7 @@ object O { } abstract class C[E] { - def foo[BB](f: BB) + def foo[BB](f: BB): Unit def test[B](f: B): Any = foo(f) // error: no type parameters for method foo: (<param> f: BB)scala.this.Unit exist so that it can be applied to arguments (B&1) // --- because --- |