diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/lambda.scala | 2 | ||||
-rw-r--r-- | test/files/pos/philippe2.scala | 2 | ||||
-rw-r--r-- | test/pos/lambda.scala | 2 | ||||
-rw-r--r-- | test/pos/philippe2.scala | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/test/files/pos/lambda.scala b/test/files/pos/lambda.scala index 0c85672ac1..27c273cc3c 100644 --- a/test/files/pos/lambda.scala +++ b/test/files/pos/lambda.scala @@ -4,5 +4,5 @@ module test { def twice[a](f: a => a): a => a = x: a => f(f(x)); - def main = apply[Int,Int](twice@[Int](x: Int => x))(1); + def main = apply[Int,Int](twice[Int](x: Int => x))(1); }
\ No newline at end of file diff --git a/test/files/pos/philippe2.scala b/test/files/pos/philippe2.scala index 2f61fc46ca..0dc896ebfd 100644 --- a/test/files/pos/philippe2.scala +++ b/test/files/pos/philippe2.scala @@ -1,3 +1,5 @@ + +import scala._; class m1() { def n() = 0; def foo(i: Int)(j: Int): Unit = (); diff --git a/test/pos/lambda.scala b/test/pos/lambda.scala index 0c85672ac1..27c273cc3c 100644 --- a/test/pos/lambda.scala +++ b/test/pos/lambda.scala @@ -4,5 +4,5 @@ module test { def twice[a](f: a => a): a => a = x: a => f(f(x)); - def main = apply[Int,Int](twice@[Int](x: Int => x))(1); + def main = apply[Int,Int](twice[Int](x: Int => x))(1); }
\ No newline at end of file diff --git a/test/pos/philippe2.scala b/test/pos/philippe2.scala index 2f61fc46ca..0dc896ebfd 100644 --- a/test/pos/philippe2.scala +++ b/test/pos/philippe2.scala @@ -1,3 +1,5 @@ + +import scala._; class m1() { def n() = 0; def foo(i: Int)(j: Int): Unit = (); |