From fabe192ccb6493f6f0b32c753b72a716a97a5646 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 20 Feb 2007 11:23:17 +0000 Subject: fixed slice method --- test/files/neg/scopes.check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/neg/scopes.check') diff --git a/test/files/neg/scopes.check b/test/files/neg/scopes.check index 6e0a3c1081..b312893044 100644 --- a/test/files/neg/scopes.check +++ b/test/files/neg/scopes.check @@ -17,8 +17,8 @@ scopes.scala:14: error: y is already defined as value y def f2(x: int)(y: int, y: float) = x + y ^ scopes.scala:15: error: x is already defined as value x - (x: int, x: float) => x - ^ + val closure = (x: int, x: float) => x + ^ scopes.scala:17: error: x is already defined as value x case x::x => x ^ -- cgit v1.2.3