summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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)
+ }
+ }
+}