summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2007-11-21 08:54:51 +0000
committerMartin Odersky <odersky@gmail.com>2007-11-21 08:54:51 +0000
commit1bdf2c4ebf0a863756192d4879102710e839fec2 (patch)
tree652155d4fa1b74fabe6b6fd4908cf1204506c9dd /test/pending
parentc8fab9ec7d779b4adcebab6ae6294ee7be37a5d2 (diff)
downloadscala-1bdf2c4ebf0a863756192d4879102710e839fec2.tar.gz
scala-1bdf2c4ebf0a863756192d4879102710e839fec2.tar.bz2
scala-1bdf2c4ebf0a863756192d4879102710e839fec2.zip
changed SuperAccessors for t010; reassigned to ...
changed SuperAccessors for t010; reassigned to Iulian
Diffstat (limited to 'test/pending')
-rw-r--r--test/pending/pos/t010/Presentations.scala10
-rw-r--r--test/pending/pos/t010/PresentationsX.scala8
2 files changed, 18 insertions, 0 deletions
diff --git a/test/pending/pos/t010/Presentations.scala b/test/pending/pos/t010/Presentations.scala
new file mode 100644
index 0000000000..ee2d94162f
--- /dev/null
+++ b/test/pending/pos/t010/Presentations.scala
@@ -0,0 +1,10 @@
+package pkg1
+trait Presentations {
+ trait ProjectImpl {
+ trait FileImpl
+ protected def lockTyper[T](f : => T) = {
+ if (this == null) None
+ else Some(f)
+ }
+ }
+}
diff --git a/test/pending/pos/t010/PresentationsX.scala b/test/pending/pos/t010/PresentationsX.scala
new file mode 100644
index 0000000000..6d6c5bf504
--- /dev/null
+++ b/test/pending/pos/t010/PresentationsX.scala
@@ -0,0 +1,8 @@
+package pkg2
+trait PresentationsX extends pkg1.Presentations {
+ trait ProjectImpl extends super.ProjectImpl {
+ trait FileImpl extends super.FileImpl {
+ lockTyper(Console.println)
+ }
+ }
+}