summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1909b.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-10-22 21:59:37 +0000
committerPaul Phillips <paulp@improving.org>2009-10-22 21:59:37 +0000
commit92cfcd43997dc090edc35029ada027ed986a25e2 (patch)
treefecd6bb4b011a0b50849ebfb95f5ece52fa39cb0 /test/files/neg/bug1909b.check
parentdab03ce57930c24534e46664b676eab1928ca34a (diff)
downloadscala-92cfcd43997dc090edc35029ada027ed986a25e2.tar.gz
scala-92cfcd43997dc090edc35029ada027ed986a25e2.tar.bz2
scala-92cfcd43997dc090edc35029ada027ed986a25e2.zip
The last patch to work around #1909 caught one ...
The last patch to work around #1909 caught one brand of lifts but not another. Better now and another test case.
Diffstat (limited to 'test/files/neg/bug1909b.check')
-rw-r--r--test/files/neg/bug1909b.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug1909b.check b/test/files/neg/bug1909b.check
new file mode 100644
index 0000000000..d55c5e403b
--- /dev/null
+++ b/test/files/neg/bug1909b.check
@@ -0,0 +1,4 @@
+bug1909b.scala:3: error: Implementation restriction: auxiliary constructor calls may not use expressions which require lifting.
+ def bar() = 5
+ ^
+one error found