diff options
Diffstat (limited to 'test/files/jvm')
-rw-r--r-- | test/files/jvm/protectedacc.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/protectedacc.scala b/test/files/jvm/protectedacc.scala index 53e43d75a4..50fd66c0b5 100644 --- a/test/files/jvm/protectedacc.scala +++ b/test/files/jvm/protectedacc.scala @@ -84,7 +84,7 @@ package p { Console.println("meth3 = " + meth3.getClass); - val inc = &meth2(1); + val inc = meth2(1)_; Console.println("100 = " + inc("10")); getA.x; @@ -111,7 +111,7 @@ package p { Console.println("meth1(1) = " + meth1(1)); Console.println("meth2(1)(1) = " + meth2(1)("1")); - val inc = &meth2(1); + val inc = meth2(1)_; Console.println("100 = " + inc("10")); getA.x; |