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/eta.scala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/files/pos/eta.scala') diff --git a/test/files/pos/eta.scala b/test/files/pos/eta.scala index 7d862f67b1..590e7149f8 100644 --- a/test/files/pos/eta.scala +++ b/test/files/pos/eta.scala @@ -1,5 +1,7 @@ +// $Id$ + object test { def sum(f: Int => Int)(x: Int, y: Int): Int = 0; -def g = sum; -} \ No newline at end of file +def g: (Int => Int) => (Int, Int) => Int = sum; +} -- cgit v1.2.3