summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1909b.check
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2009-10-28 17:06:48 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2009-10-28 17:06:48 +0000
commitcc934ee7bb181645d4436eb923f7eb843b7c259d (patch)
treec8bc73b1b74a56cc30fc60d8f0b5f01509228917 /test/files/neg/bug1909b.check
parent03e717bdc79ddc2ad7a603698241fe39c9255a8a (diff)
downloadscala-cc934ee7bb181645d4436eb923f7eb843b7c259d.tar.gz
scala-cc934ee7bb181645d4436eb923f7eb843b7c259d.tar.bz2
scala-cc934ee7bb181645d4436eb923f7eb843b7c259d.zip
Fix for #1909
Diffstat (limited to 'test/files/neg/bug1909b.check')
-rw-r--r--test/files/neg/bug1909b.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/bug1909b.check b/test/files/neg/bug1909b.check
index d55c5e403b..e5de5fefe9 100644
--- a/test/files/neg/bug1909b.check
+++ b/test/files/neg/bug1909b.check
@@ -1,4 +1,4 @@
-bug1909b.scala:3: error: Implementation restriction: auxiliary constructor calls may not use expressions which require lifting.
- def bar() = 5
- ^
+bug1909b.scala:4: error: this can be used only in a class, object, or template
+ def bar() = this.z + 5
+ ^
one error found