diff options
author | michelou <michelou@epfl.ch> | 2006-12-13 17:09:39 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-12-13 17:09:39 +0000 |
commit | d26f9ec82227e1cf844b745d89cdf655e9f24c74 (patch) | |
tree | d8c1008c126239914f1e04e0cc7390addaa8c272 /test/pending | |
parent | 39eba8638cd03ee5de4c60bebb1248ff2e9379ca (diff) | |
download | scala-d26f9ec82227e1cf844b745d89cdf655e9f24c74.tar.gz scala-d26f9ec82227e1cf844b745d89cdf655e9f24c74.tar.bz2 scala-d26f9ec82227e1cf844b745d89cdf655e9f24c74.zip |
moved from pending
Diffstat (limited to 'test/pending')
-rw-r--r-- | test/pending/neg/scopes.check | 22 | ||||
-rw-r--r-- | test/pending/neg/scopes.scala | 14 |
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 -} |