From d26f9ec82227e1cf844b745d89cdf655e9f24c74 Mon Sep 17 00:00:00 2001 From: michelou Date: Wed, 13 Dec 2006 17:09:39 +0000 Subject: moved from pending --- test/pending/neg/scopes.check | 22 ---------------------- test/pending/neg/scopes.scala | 14 -------------- 2 files changed, 36 deletions(-) delete mode 100644 test/pending/neg/scopes.check delete mode 100644 test/pending/neg/scopes.scala (limited to 'test') diff --git a/test/pending/neg/scopes.check b/test/pending/neg/scopes.check deleted file mode 100644 index 152c820317..0000000000 --- a/test/pending/neg/scopes.check +++ /dev/null @@ -1,22 +0,0 @@ -scopes.scala:1 error: x is already defined as value x -case class test0(x: int, x: float) - ^ -scopes.scala:2 error: x is already defined as value x - -^ -scopes.scala:5 error: x is already defined as value x - val x: float = .0f - ^ -scopes.scala:8 error: y is already defined as value y - val y: float = .0f - ^ -scopes.scala:11 error: x is already defined as value x - def params(x: int, x: float) = x - ^ -scopes.scala:12 error: y is already defined as value y - def curried(x: int)(y: int, y: float) = x + y - ^ -scopes.scala:13 error: x is already defined as value x - (x: int, x: float) => x - ^ -7 errors found diff --git a/test/pending/neg/scopes.scala b/test/pending/neg/scopes.scala deleted file mode 100644 index 0083101b00..0000000000 --- a/test/pending/neg/scopes.scala +++ /dev/null @@ -1,14 +0,0 @@ -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