mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
12 lines
319 B
Plaintext
12 lines
319 B
Plaintext
Resolve target: value-parameter val p: kotlin.String?
|
|
----------------------------------------------
|
|
fun foo(p: String?) {
|
|
fun local(): String? {
|
|
// STATEMENT DELETED: if (p == null) return null
|
|
// STATEMENT DELETED: print(p.size)
|
|
// STATEMENT DELETED: return ""
|
|
}
|
|
|
|
<caret>p?.size
|
|
}
|