From 39eba8638cd03ee5de4c60bebb1248ff2e9379ca Mon Sep 17 00:00:00 2001 From: michelou Date: Wed, 13 Dec 2006 17:09:10 +0000 Subject: moved from pending --- test/files/neg/scopes.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/files/neg/scopes.scala (limited to 'test/files/neg/scopes.scala') diff --git a/test/files/neg/scopes.scala b/test/files/neg/scopes.scala new file mode 100644 index 0000000000..0083101b00 --- /dev/null +++ b/test/files/neg/scopes.scala @@ -0,0 +1,14 @@ +case class test0(x: int, x: float) + +object test1 { + val x: int = 0 + val x: float = .0f + { + val y: int = 0 + val y: float = .0f + () + } + def params(x: int, x: float) = x + def curried(x: int)(y: int, y: float) = x + y + (x: int, x: float) => x +} -- cgit v1.2.3