summaryrefslogtreecommitdiff
path: root/test/files/pos/bug1909.scala
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/pos/bug1909.scala
parent03e717bdc79ddc2ad7a603698241fe39c9255a8a (diff)
downloadscala-cc934ee7bb181645d4436eb923f7eb843b7c259d.tar.gz
scala-cc934ee7bb181645d4436eb923f7eb843b7c259d.tar.bz2
scala-cc934ee7bb181645d4436eb923f7eb843b7c259d.zip
Fix for #1909
Diffstat (limited to 'test/files/pos/bug1909.scala')
-rw-r--r--test/files/pos/bug1909.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/bug1909.scala b/test/files/pos/bug1909.scala
new file mode 100644
index 0000000000..01213f62a3
--- /dev/null
+++ b/test/files/pos/bug1909.scala
@@ -0,0 +1,8 @@
+// Until #1909 is fixed, if this compiles the bytecode
+// 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)
+}