diff options
author | michelou <michelou@epfl.ch> | 2008-06-10 09:25:57 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-06-10 09:25:57 +0000 |
commit | dbfdf0ec6d3ef0017b279dd9a195ce2615f9c3bb (patch) | |
tree | 2a85e677fa8febcf1f28f86907813a089d85ac18 /test/files/run/amp.scala | |
parent | a4baf28d203959457d82762e27ffbb7104dc0a07 (diff) | |
download | scala-dbfdf0ec6d3ef0017b279dd9a195ce2615f9c3bb.tar.gz scala-dbfdf0ec6d3ef0017b279dd9a195ce2615f9c3bb.tar.bz2 scala-dbfdf0ec6d3ef0017b279dd9a195ce2615f9c3bb.zip |
added EOLs, missing headers
Diffstat (limited to 'test/files/run/amp.scala')
-rw-r--r-- | test/files/run/amp.scala | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/files/run/amp.scala b/test/files/run/amp.scala index d46461ba20..367f3b31e4 100644 --- a/test/files/run/amp.scala +++ b/test/files/run/amp.scala @@ -1,19 +1,15 @@ object Test extends Application { def foo() = { - def f: int = 1 + def f: Int = 1 val x = f _ x } - def bar(g: => int) = { + def bar(g: => Int) = { g _ } Console.println((bar{ Console.println("g called"); 42 })()) Console.println(foo()()) - } - - - |