summaryrefslogtreecommitdiff
path: root/test/files/pos/scoping3.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/scoping3.scala')
-rw-r--r--test/files/pos/scoping3.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/pos/scoping3.scala b/test/files/pos/scoping3.scala
index 4ebc7f6378..7f45723ce2 100644
--- a/test/files/pos/scoping3.scala
+++ b/test/files/pos/scoping3.scala
@@ -1,3 +1,5 @@
+// $Id$
+
object CI {
trait TreeDisplay {
type TreeNode <: ITreeNode;
@@ -13,7 +15,7 @@ object CI {
trait TreeDisplayFinal extends TreeDisplay with TreeDisplayExp {
type TreeNode <: ITreeNode with ITreeNodeExp;
}
- abstract class SimpleTreeDisplay: TreeDisplayFinal extends
+ abstract class SimpleTreeDisplay requires TreeDisplayFinal extends
TreeDisplay {
def display() = { this.getRoot().display(); }
}