summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-12-13 17:09:39 +0000
committermichelou <michelou@epfl.ch>2006-12-13 17:09:39 +0000
commitd26f9ec82227e1cf844b745d89cdf655e9f24c74 (patch)
treed8c1008c126239914f1e04e0cc7390addaa8c272 /test
parent39eba8638cd03ee5de4c60bebb1248ff2e9379ca (diff)
downloadscala-d26f9ec82227e1cf844b745d89cdf655e9f24c74.tar.gz
scala-d26f9ec82227e1cf844b745d89cdf655e9f24c74.tar.bz2
scala-d26f9ec82227e1cf844b745d89cdf655e9f24c74.zip
moved from pending
Diffstat (limited to 'test')
-rw-r--r--test/pending/neg/scopes.check22
-rw-r--r--test/pending/neg/scopes.scala14
2 files changed, 0 insertions, 36 deletions
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
-}