summaryrefslogtreecommitdiff
path: root/test/files/pos/bug210.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug210.scala')
-rw-r--r--test/files/pos/bug210.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/bug210.scala b/test/files/pos/bug210.scala
index 9a7ef62cd9..0049d1f34c 100644
--- a/test/files/pos/bug210.scala
+++ b/test/files/pos/bug210.scala
@@ -1,8 +1,8 @@
trait Lang1 {
trait Exp;
- trait Visitor { def f(left: Exp): unit; }
+ trait Visitor { def f(left: Exp): Unit }
class Eval1 extends Visitor { self: Visitor =>
- def f(left: Exp) = ();
+ def f(left: Exp) = ()
}
}
@@ -11,7 +11,7 @@ trait Lang2 extends Lang1 {
}
/*
object Main with Application {
- val lang2 = new Lang2 {};
- val eval = new lang2.Eval2;
+ val lang2 = new Lang2 {}
+ val eval = new lang2.Eval2
}
*/