this is a workaround, if it can be generated: ``` ...
# squarelibraries
p
this is a workaround, if it can be generated:
Copy code
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
  }
}