diff options
Diffstat (limited to 'test/files/pos/scoping1.scala')
-rw-r--r-- | test/files/pos/scoping1.scala | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/files/pos/scoping1.scala b/test/files/pos/scoping1.scala index c72df7fa8b..c9c0489e69 100644 --- a/test/files/pos/scoping1.scala +++ b/test/files/pos/scoping1.scala @@ -1,12 +1,12 @@ object This extends Application { - trait A { - def foo(): unit; - } - class C { self: A => - def bar() = this.foo(); - } + trait A { + def foo(): Unit + } + class C { self: A => + def bar() = this.foo() + } class D extends C with A { def foo() = () } - val c: C = new D; + val c: C = new D } |