From 3a1d34eebfb06ec3d66a46509b368256318510d1 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Thu, 8 Jul 2010 15:59:15 +0000 Subject: closes #3486. fixed by having mixin do the cloning at the beginning of erasure and then updating the symbol's info to transform it to be valid in current phase review by odersky --- test/files/pos/t3486/test.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/pos/t3486/test.scala (limited to 'test/files/pos/t3486/test.scala') diff --git a/test/files/pos/t3486/test.scala b/test/files/pos/t3486/test.scala new file mode 100644 index 0000000000..544232b0d1 --- /dev/null +++ b/test/files/pos/t3486/test.scala @@ -0,0 +1,6 @@ +trait Test[A] { + def m( a: A ): A + def specified(a:A):A = a +} + +abstract class T2[A] extends Test[A] \ No newline at end of file -- cgit v1.2.3