From cc934ee7bb181645d4436eb923f7eb843b7c259d Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Wed, 28 Oct 2009 17:06:48 +0000 Subject: Fix for #1909 --- test/files/pos/bug1909.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/files/pos/bug1909.scala (limited to 'test/files/pos/bug1909.scala') 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) +} -- cgit v1.2.3