From c9ac3d7267fe53dfbd3f57658049637ab218b3d5 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 16 May 2016 18:47:39 +0200 Subject: Remove stray test Real test is in neg/customargs --- tests/neg/i1240c.scala | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 tests/neg/i1240c.scala diff --git a/tests/neg/i1240c.scala b/tests/neg/i1240c.scala deleted file mode 100644 index 89fded292..000000000 --- a/tests/neg/i1240c.scala +++ /dev/null @@ -1,17 +0,0 @@ -// yet another variant, testing super accessors -// (but exhibited a crash in RefChecks). - -trait T { - def foo[B](x: C[B]): C[B] -} -abstract class A extends T { - type C[X] - def foo[B](x: C[B]): C[B] = {println("A.C"); x} - def foo[B](x: List[B]): List[B] = {println("A.List"); x} -} -trait U extends T { - abstract override def foo[B](x: C[B]): C[B] = super.foo[B](x) -} -object Test extends A with U { - type C[X] = List[X] -} -- cgit v1.2.3