diff options
author | michelou <michelou@epfl.ch> | 2006-01-17 13:11:51 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-01-17 13:11:51 +0000 |
commit | cb5094082aa96a4537ca56bb1b9d6e9965a08e20 (patch) | |
tree | e866f49c39904f0ad2bb9c5703eda196df8559ec /test | |
parent | 33efb08a90a78ad3db1d468a23c59870435d6983 (diff) | |
download | scala-cb5094082aa96a4537ca56bb1b9d6e9965a08e20.tar.gz scala-cb5094082aa96a4537ca56bb1b9d6e9965a08e20.tar.bz2 scala-cb5094082aa96a4537ca56bb1b9d6e9965a08e20.zip |
- replaced ':' (deprecated) by 'requires' in te...
- replaced ':' (deprecated) by 'requires' in
test/files/pos/scoping1.scala
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/scoping1.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/scoping1.scala b/test/files/pos/scoping1.scala index 23daf024fe..ee714af1b0 100644 --- a/test/files/pos/scoping1.scala +++ b/test/files/pos/scoping1.scala @@ -2,7 +2,7 @@ object This extends Application { trait A { def foo(): unit; } - class C: A { + class C requires A { def bar() = this.foo(); } class D extends C with A { |