diff options
-rw-r--r-- | test/files/neg/bug452.check | 2 | ||||
-rw-r--r-- | test/files/neg/constrs.check | 4 |
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 |