summaryrefslogtreecommitdiff
path: root/test/files/pos/t3486/test.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2010-07-08 15:59:15 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2010-07-08 15:59:15 +0000
commit3a1d34eebfb06ec3d66a46509b368256318510d1 (patch)
treef178062f795047608673eff2f6b9c8975d85bc8f /test/files/pos/t3486/test.scala
parent27cdc8ab7f0d688a8fa81dffae2e1b26ac342edb (diff)
downloadscala-3a1d34eebfb06ec3d66a46509b368256318510d1.tar.gz
scala-3a1d34eebfb06ec3d66a46509b368256318510d1.tar.bz2
scala-3a1d34eebfb06ec3d66a46509b368256318510d1.zip
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
Diffstat (limited to 'test/files/pos/t3486/test.scala')
-rw-r--r--test/files/pos/t3486/test.scala6
1 files changed, 6 insertions, 0 deletions
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