summaryrefslogtreecommitdiff
path: root/test/files/res
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/res')
-rw-r--r--test/files/res/bug722/Parser.scala2
-rw-r--r--test/files/res/bug722/ScanBased.scala4
-rw-r--r--test/files/res/bug785/ScalaNewTyper.scala2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/files/res/bug722/Parser.scala b/test/files/res/bug722/Parser.scala
index 6d9739ed04..7f84cb2b63 100644
--- a/test/files/res/bug722/Parser.scala
+++ b/test/files/res/bug722/Parser.scala
@@ -2,7 +2,7 @@
package bug722;
trait Parser {
trait Link {
- def foo = {}
+ def foo() = {}
}
}
diff --git a/test/files/res/bug722/ScanBased.scala b/test/files/res/bug722/ScanBased.scala
index fcb853f96d..4793a04914 100644
--- a/test/files/res/bug722/ScanBased.scala
+++ b/test/files/res/bug722/ScanBased.scala
@@ -1,10 +1,10 @@
package bug722;
trait ScanBased extends Parser {
trait AdjacentLink extends Link {
- override def foo = super.foo;
+ override def foo() = super.foo;
}
trait WhitespaceLink extends AdjacentLink {
- override def foo = super.foo;
+ override def foo() = super.foo;
}
}
diff --git a/test/files/res/bug785/ScalaNewTyper.scala b/test/files/res/bug785/ScalaNewTyper.scala
index fb955572ed..d55d60a8d0 100644
--- a/test/files/res/bug785/ScalaNewTyper.scala
+++ b/test/files/res/bug785/ScalaNewTyper.scala
@@ -2,7 +2,7 @@ package bug785;
trait ScalaNewTyper {
private var typed : String = null;
trait HasSymbol {
- protected def foo : Unit = {}
+ protected def foo() : Unit = {}
}
trait HasArgsTypeParametersImpl extends HasSymbol {
private var argss : List[List[String]] = Nil;