summaryrefslogtreecommitdiff
path: root/test/files/neg/scopes.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2007-02-20 11:23:17 +0000
committerMartin Odersky <odersky@gmail.com>2007-02-20 11:23:17 +0000
commitfabe192ccb6493f6f0b32c753b72a716a97a5646 (patch)
tree0c05898ad2293d92e00778a0ef7442745b7f0bcd /test/files/neg/scopes.check
parent53c115ff4c8a6cf81659e0ac7bb878b32765107a (diff)
downloadscala-fabe192ccb6493f6f0b32c753b72a716a97a5646.tar.gz
scala-fabe192ccb6493f6f0b32c753b72a716a97a5646.tar.bz2
scala-fabe192ccb6493f6f0b32c753b72a716a97a5646.zip
fixed slice method
Diffstat (limited to 'test/files/neg/scopes.check')
-rw-r--r--test/files/neg/scopes.check4
1 files changed, 2 insertions, 2 deletions
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
^