https://kotlinlang.org logo
#announcements
Title
# announcements
k

kevinmost

12/08/2016, 9:52 PM
Doesn't work:
Copy code
open class Foo

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