diff options
author | Martin Odersky <odersky@gmail.com> | 2007-02-20 11:23:17 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-02-20 11:23:17 +0000 |
commit | fabe192ccb6493f6f0b32c753b72a716a97a5646 (patch) | |
tree | 0c05898ad2293d92e00778a0ef7442745b7f0bcd /test/files/neg/scopes.scala | |
parent | 53c115ff4c8a6cf81659e0ac7bb878b32765107a (diff) | |
download | scala-fabe192ccb6493f6f0b32c753b72a716a97a5646.tar.gz scala-fabe192ccb6493f6f0b32c753b72a716a97a5646.tar.bz2 scala-fabe192ccb6493f6f0b32c753b72a716a97a5646.zip |
fixed slice method
Diffstat (limited to 'test/files/neg/scopes.scala')
-rw-r--r-- | test/files/neg/scopes.scala | 2 |
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 |