aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/pos/presuperContext.scala
blob: ae677c08ec9f34ebd469a00ea5f497bdde6ed074 (plain) (tree)
1
2
3
4
5
6
7
         





                                                





                                                      
                  



                                   
class A {
  class C extends AnyRef {
// TODO NEEDS MANUAL CHANGE (early initializers)
// BEGIN copied early initializers
val x: A = this
// END copied early initializers
}
}

class B(x: Int)

class D {
  class C(x: Int) extends B({val test: D = this; x}) {
    def this() = {
      this({val test: D = this; 1})
    }
  }
}