From 7320ca34aad20a1c47715d265a85da7274b0eaf4 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 2 Sep 2004 16:19:06 +0000 Subject: *** empty log message *** --- test/files/run/bugs.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/run/bugs.scala') diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala index 31c82eb490..b0a26d92e3 100644 --- a/test/files/run/bugs.scala +++ b/test/files/run/bugs.scala @@ -300,7 +300,7 @@ object Bug257Test { def f1(x: Unit): Unit = (); def f2(x: Unit)(y: Unit): Unit = (); - def f(def x: Unit) = { + def f(x: => Unit) = { f1(x); f2(x); } @@ -404,7 +404,7 @@ object Bug328Test { object Test { var errors: Int = 0; - def test(bug: Int, def test: Unit): Unit = { + def test(bug: Int, test: => Unit): Unit = { System.out.println("<<< bug " + bug); try { test; -- cgit v1.2.3