summaryrefslogtreecommitdiff
path: root/test/files/pos/t3486/JTest.java
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/JTest.java
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/JTest.java')
-rw-r--r--test/files/pos/t3486/JTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/pos/t3486/JTest.java b/test/files/pos/t3486/JTest.java
new file mode 100644
index 0000000000..0bf388b72d
--- /dev/null
+++ b/test/files/pos/t3486/JTest.java
@@ -0,0 +1,3 @@
+public class JTest<A> extends T2<A> {
+ public A m( A a ) { return a; }
+} \ No newline at end of file