diff options
author | Martin Odersky <odersky@gmail.com> | 2016-05-16 18:47:39 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-05-19 08:32:49 +0200 |
commit | c9ac3d7267fe53dfbd3f57658049637ab218b3d5 (patch) | |
tree | fabd71dfb9f11ba4cb37724924bb92fd809c4be3 /tests/neg | |
parent | b26b725ef25a55a325b2c8a44c1ac67272632f14 (diff) | |
download | dotty-c9ac3d7267fe53dfbd3f57658049637ab218b3d5.tar.gz dotty-c9ac3d7267fe53dfbd3f57658049637ab218b3d5.tar.bz2 dotty-c9ac3d7267fe53dfbd3f57658049637ab218b3d5.zip |
Remove stray test
Real test is in neg/customargs
Diffstat (limited to 'tests/neg')
-rw-r--r-- | tests/neg/i1240c.scala | 17 |
1 files changed, 0 insertions, 17 deletions
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] -} |