summaryrefslogtreecommitdiff
path: root/test/files/pos/t460.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t460.scala')
-rw-r--r--test/files/pos/t460.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/pos/t460.scala b/test/files/pos/t460.scala
index 3fc13e4dd0..466d06c2ad 100644
--- a/test/files/pos/t460.scala
+++ b/test/files/pos/t460.scala
@@ -1,8 +1,8 @@
object Bug460 {
def testFun(x : Int, y : Int) = x + y
- val fn = testFun _
-
- fn(1, 2) // Ok
+ val fn = testFun _
+
+ fn(1, 2) // Ok
(testFun(_, _))(1, 2) // Ok
(testFun _).apply(1, 2)
(testFun _)(1, 2) // Error! (but no longer)