mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
15 lines
303 B
Plaintext
Vendored
15 lines
303 B
Plaintext
Vendored
Resolve target: val s: kotlin.String? smart-cast to kotlin.String
|
|
----------------------------------------------
|
|
class C(val s: String?) {
|
|
fun foo(p: Boolean) {
|
|
if (p) {
|
|
print(s!!)
|
|
}
|
|
else {
|
|
print(this.s!!)
|
|
}
|
|
|
|
<caret>s.length()
|
|
}
|
|
}
|