diff options
Diffstat (limited to 'tests/neg')
-rw-r--r-- | tests/neg/customArgs/i1240.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/neg/customArgs/i1240.scala b/tests/neg/customArgs/i1240.scala index 6235e8815..438199b4a 100644 --- a/tests/neg/customArgs/i1240.scala +++ b/tests/neg/customArgs/i1240.scala @@ -10,7 +10,7 @@ object C { def main(args: Array[String]) = new C[D]().foo(new D()) // error: ambiguous } -/* + class C1[T] { def foo(x: D) = { System.out.println("D foo"); } } @@ -37,4 +37,4 @@ class B extends A { val a: A = this a.foo(a.give[Int]) // what method should be called here in runtime? } -*/ + |