fun test(b: Boolean) { val x = object { fun getBool(): Boolean = b } }