diff options
author | Martin Odersky <odersky@gmail.com> | 2016-05-02 11:34:38 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-05-18 19:43:21 +0200 |
commit | 968f1ab0cd706de8833112741407f94a6a0b2677 (patch) | |
tree | 83aaaf5174169947726999fbea30eaaf416a57ac /tests/neg/customArgs | |
parent | 2dd6a7ae07cca7b03372d6b9f1fb30e0fcc975b7 (diff) | |
download | dotty-968f1ab0cd706de8833112741407f94a6a0b2677.tar.gz dotty-968f1ab0cd706de8833112741407f94a6a0b2677.tar.bz2 dotty-968f1ab0cd706de8833112741407f94a6a0b2677.zip |
Fix test case
Diffstat (limited to 'tests/neg/customArgs')
-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? } -*/ + |