diff options
Diffstat (limited to 'test/files/run/amp.scala')
-rw-r--r-- | test/files/run/amp.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/amp.scala b/test/files/run/amp.scala index 62451b62ba..d46461ba20 100644 --- a/test/files/run/amp.scala +++ b/test/files/run/amp.scala @@ -2,12 +2,12 @@ object Test extends Application { def foo() = { def f: int = 1 - val x = &f + val x = f _ x } def bar(g: => int) = { - &g + g _ } Console.println((bar{ Console.println("g called"); 42 })()) |