diff options
Diffstat (limited to 'test/files')
-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 { |