summaryrefslogtreecommitdiff
path: root/test/files/neg/scopes.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/scopes.scala')
-rw-r--r--test/files/neg/scopes.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/scopes.scala b/test/files/neg/scopes.scala
index 321ae223b8..e38a0a3d2e 100644
--- a/test/files/neg/scopes.scala
+++ b/test/files/neg/scopes.scala
@@ -12,7 +12,7 @@ object test1 {
}
def f1(x: int, x: float) = x
def f2(x: int)(y: int, y: float) = x + y
- (x: int, x: float) => x
+ val closure = (x: int, x: float) => x
List() match {
case x::x => x
case Nil => Nil