20 lines
469 B
Plaintext
20 lines
469 B
Plaintext
Resolve target: value-parameter val 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.size) } } */
|
|
|
|
val c = object : C(p!!.size) {
|
|
override fun f() {
|
|
super.f()
|
|
if (p == null) return
|
|
print(p.size)
|
|
}
|
|
}
|
|
|
|
<caret>p?.size
|
|
}
|