aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/t1909.scala
blob: 20236775520e0590ea390ecf01eee69687398474 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                         
                                             

                    
// 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)
}

object Test extends dotty.runtime.LegacyApp {
  new Ticket1909("")
}