diff options
Diffstat (limited to 'test/files/run/literals.scala')
-rw-r--r-- | test/files/run/literals.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/literals.scala b/test/files/run/literals.scala index 6d7647009d..5a0c2e5c53 100644 --- a/test/files/run/literals.scala +++ b/test/files/run/literals.scala @@ -15,7 +15,7 @@ object Test { case class GGG(i:int) { def \u21a1\u21a1( that:GGG ) = that; } - def check_success[a](name: String, def closure: a, expected: a): Unit = { + def check_success[a](name: String, closure: => a, expected: a): Unit = { out.print("test " + name); try { val actual: a = closure; |