Resolve target: value-parameter p: kotlin.String? ---------------------------------------------- open class C(p: Int) { open fun f(){} } fun foo(p: String?) { /* STATEMENT DELETED: val o = object : Runnable { override fun run() { if (p == null) return print(p.length) } } */ val c = object : C(p!!.size) { override fun f() { /* STATEMENT DELETED: super.f() */ /* STATEMENT DELETED: if (p == null) return */ /* STATEMENT DELETED: print(p.length) */ } } p?.length }