From e6d5f93be6f0d8bf866c38bb34e330d19bf70122 Mon Sep 17 00:00:00 2001 From: michelou Date: Tue, 17 Jan 2006 16:37:03 +0000 Subject: added explicit type for partial function in tes... added explicit type for partial function in test/files/run/bugs.scala --- test/files/run/bugs.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala index 2398f23d13..90711e7ad2 100644 --- a/test/files/run/bugs.scala +++ b/test/files/run/bugs.scala @@ -309,7 +309,7 @@ object Bug257Test { def f1(x: Unit): Unit = (); def f2(x: Unit)(y: Unit): Unit = (); - def f(x: => Unit) = { + def f(x: => Unit): Unit => Unit = { f1(x); f2(x); } -- cgit v1.2.3