summaryrefslogtreecommitdiff
path: root/test/files/neg/scopes.check
diff options
context:
space:
mode:
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
^