kevinmost
open class Foo fun test() { val myFoo: Foo = object : Foo() { val x = 10 } println(myFoo.x) }