summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2008-04-29 17:45:50 +0000
committerIulian Dragos <jaguarul@gmail.com>2008-04-29 17:45:50 +0000
commit7bb24097c92ad5772e7456bb28cb1d2b13473653 (patch)
treecc3137ee7569f4ce1cf37d105e2effa9b75ff853 /test/files
parent9af5aa94d336f85bd27b286967551f75519a3486 (diff)
downloadscala-7bb24097c92ad5772e7456bb28cb1d2b13473653.tar.gz
scala-7bb24097c92ad5772e7456bb28cb1d2b13473653.tar.bz2
scala-7bb24097c92ad5772e7456bb28cb1d2b13473653.zip
Rolled back r14773, until I figure out why the ...
Rolled back r14773, until I figure out why the plugin breaks.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/jvm/protectedacc.check1
-rw-r--r--test/files/jvm/protectedacc.scala16
2 files changed, 0 insertions, 17 deletions
diff --git a/test/files/jvm/protectedacc.check b/test/files/jvm/protectedacc.check
index d36d85fef8..aaac0d613e 100644
--- a/test/files/jvm/protectedacc.check
+++ b/test/files/jvm/protectedacc.check
@@ -13,4 +13,3 @@ count after: 4
meth1(1) = 2
meth2(1)(1) = 10
100 = 100
-Foo
diff --git a/test/files/jvm/protectedacc.scala b/test/files/jvm/protectedacc.scala
index 59869c63ae..f5d05e21b4 100644
--- a/test/files/jvm/protectedacc.scala
+++ b/test/files/jvm/protectedacc.scala
@@ -19,25 +19,9 @@ object Test {
(new ji.Inner).m;
(new p.b.OuterObj.Inner).m
- cloneable.MainClone.run
}
}
-package cloneable {
-object MainClone {
- trait Foo extends Cloneable {
- def copy : Foo = clone.asInstanceOf[Foo]
- override def toString = "Foo"
- }
- def run : Unit = {
- val foo = new Foo {}
- Console.println(foo.copy)
- }
-}
-
-}
-
-
package p {
package a {