diff options
author | michelou <michelou@epfl.ch> | 2006-01-17 15:07:00 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-01-17 15:07:00 +0000 |
commit | 8ecff3568d62472d02e23698330a8111b4b081b2 (patch) | |
tree | 4ec4259b1fc919aeefdc1f0c7e1acf1e72f94772 /test/files/pos/scoping3.scala | |
parent | 60ee99e4ad87fd4f50a7c6e3d89b4305733c5f9b (diff) | |
download | scala-8ecff3568d62472d02e23698330a8111b4b081b2.tar.gz scala-8ecff3568d62472d02e23698330a8111b4b081b2.tar.bz2 scala-8ecff3568d62472d02e23698330a8111b4b081b2.zip |
replaced ':' (deprecated) by 'requires' in test...
replaced ':' (deprecated) by 'requires' in test/files/pos/bug360.scala,
..
Diffstat (limited to 'test/files/pos/scoping3.scala')
-rw-r--r-- | test/files/pos/scoping3.scala | 4 |
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(); } } |