summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2007-02-15 17:28:32 +0000
committerMartin Odersky <odersky@gmail.com>2007-02-15 17:28:32 +0000
commit142560739a368d569e170f581f7f730cb07bf79d (patch)
treea36928e585abd3547d1732872541e34132c5b908 /test/files/neg
parentd1cc9d42c9363eb55d0487425f4ac672cfdf6a0a (diff)
downloadscala-142560739a368d569e170f581f7f730cb07bf79d.tar.gz
scala-142560739a368d569e170f581f7f730cb07bf79d.tar.bz2
scala-142560739a368d569e170f581f7f730cb07bf79d.zip
fixed tests
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/bug639.scala2
-rw-r--r--test/files/neg/scopes.check2
-rw-r--r--test/files/neg/scopes.scala2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/bug639.scala b/test/files/neg/bug639.scala
index a8416b2b2c..eaeed944a4 100644
--- a/test/files/neg/bug639.scala
+++ b/test/files/neg/bug639.scala
@@ -2,5 +2,5 @@ package foo123
import a._
-[B]
+@B
class C
diff --git a/test/files/neg/scopes.check b/test/files/neg/scopes.check
index ca32035316..6e0a3c1081 100644
--- a/test/files/neg/scopes.check
+++ b/test/files/neg/scopes.check
@@ -5,7 +5,7 @@ scopes.scala:5: error: t is already defined as type t
type t = float
^
scopes.scala:7: error: x is already defined as value x
- val x: float = .0f
+ val x: float = .0f;
^
scopes.scala:10: error: y is already defined as value y
val y: float = .0f
diff --git a/test/files/neg/scopes.scala b/test/files/neg/scopes.scala
index b69714ca19..321ae223b8 100644
--- a/test/files/neg/scopes.scala
+++ b/test/files/neg/scopes.scala
@@ -4,7 +4,7 @@ object test1 {
type t = int
type t = float
val x: int = 0
- val x: float = .0f
+ val x: float = .0f;
{
val y: int = 0
val y: float = .0f