From 1ae15a9a30c89379cc919ef43faf9736f3ec2ffc Mon Sep 17 00:00:00 2001 From: michelou Date: Tue, 17 Jan 2006 15:29:35 +0000 Subject: added explicit type for partial functions in te... added explicit type for partial functions in test/files/pos/eta.scala, .. --- test/files/pos/philippe2.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/files/pos/philippe2.scala') diff --git a/test/files/pos/philippe2.scala b/test/files/pos/philippe2.scala index 0dc896ebfd..2ab3a382ef 100644 --- a/test/files/pos/philippe2.scala +++ b/test/files/pos/philippe2.scala @@ -1,7 +1,8 @@ +// $Id$ import scala._; class m1() { def n() = 0; def foo(i: Int)(j: Int): Unit = (); - val bar = foo(n()); + val bar: Int => Unit = foo(n()); } -- cgit v1.2.3