pniederw
open class Foo(x: Int) { val x: Int = x } class Bar: Foo { val y: Int constructor(x: Int, y: Int) : super(x) { this.y = y } }