diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-11-10 20:59:22 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-11-10 20:59:22 +0000 |
commit | e46598c08926ed3c623272f213f724bff99d3e98 (patch) | |
tree | 7941283c7bc682d2b5a0be4ddea5b3cb9b3af185 /test/files/neg | |
parent | 39a00243c500e070284189b7780da0060338e294 (diff) | |
download | scala-e46598c08926ed3c623272f213f724bff99d3e98.tar.gz scala-e46598c08926ed3c623272f213f724bff99d3e98.tar.bz2 scala-e46598c08926ed3c623272f213f724bff99d3e98.zip |
Fixed test/files/neg/constrs.check according to...
Fixed test/files/neg/constrs.check according to the new error message
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/constrs.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/constrs.check b/test/files/neg/constrs.check index eae90b0163..bb364dc967 100644 --- a/test/files/neg/constrs.check +++ b/test/files/neg/constrs.check @@ -4,10 +4,10 @@ constrs.scala:6 error: type T 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); Console.println(x) } ^ -constrs.scala:10 error: called constructor must precede calling constructor +constrs.scala:10 error: called constructor's definition must precede calling constructor's definition def this() = this("abc") ^ -constrs.scala:12 error: called constructor must precede calling constructor +constrs.scala:12 error: called constructor's definition must precede calling constructor's definition def this(x: boolean) = this(x) ^ constrs.scala:16 error: type mismatch; |