summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-06-17 08:33:00 +0000
committermichelou <michelou@epfl.ch>2006-06-17 08:33:00 +0000
commit86a6c4afff495e0c87e23861f55c8672e6c70d1b (patch)
tree541c6e7bf9c3771e41b15eb315df206b926c1d01 /test/files/neg
parent769b33953d82e1570267adef2ee64fb1c57cb3f1 (diff)
downloadscala-86a6c4afff495e0c87e23861f55c8672e6c70d1b.tar.gz
scala-86a6c4afff495e0c87e23861f55c8672e6c70d1b.tar.bz2
scala-86a6c4afff495e0c87e23861f55c8672e6c70d1b.zip
updated check files
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/bug452.check2
-rw-r--r--test/files/neg/constrs.check4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/bug452.check b/test/files/neg/bug452.check
index 10590242aa..028cf240a7 100644
--- a/test/files/neg/bug452.check
+++ b/test/files/neg/bug452.check
@@ -1,5 +1,5 @@
bug452.scala:3 error: type mismatch;
- found : Test.type (with underlying type <object Test>)
+ found : Test.type (with underlying type object Test)
required: Test.this.Foo
def this() = this(this);
^
diff --git a/test/files/neg/constrs.check b/test/files/neg/constrs.check
index 00b60a35b5..4da2b16b3d 100644
--- a/test/files/neg/constrs.check
+++ b/test/files/neg/constrs.check
@@ -1,7 +1,7 @@
-constrs.scala:6 error: type T is not a member of <object test>
+constrs.scala:6 error: type T is not a member of object test
def this(y: int)(z: int)(t: this.T) = { this(this.u + y + z); System.out.println(x) }
^
-constrs.scala:6 error: value u is not a member of <object test>
+constrs.scala:6 error: value u is not a member of object test
def this(y: int)(z: int)(t: this.T) = { this(this.u + y + z); System.out.println(x) }
^
constrs.scala:10 error: called constructor must precede calling constructor