summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1909.scala
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/bug1909.scala
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/bug1909.scala')
-rw-r--r--test/files/neg/bug1909.scala8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/files/neg/bug1909.scala b/test/files/neg/bug1909.scala
index 4fae4e5414..01213f62a3 100644
--- a/test/files/neg/bug1909.scala
+++ b/test/files/neg/bug1909.scala
@@ -1,6 +1,8 @@
// Until #1909 is fixed, if this compiles the bytecode
-// will trigger a VerifyError.
-class Class {
+// will trigger a VerifyError. This liftings and the one
+// in 1909b.scala actually happen in two different places
+// (uncurry and lambdalifter.)
+class Ticket1909 {
def this(value: Int) = this()
def this(p: String) = this(try 0)
-} \ No newline at end of file
+}