ed8ccdc15a
Smart casts on complex expressions look as no more possible
11 lines
197 B
Kotlin
Vendored
11 lines
197 B
Kotlin
Vendored
fun baz(s: String?): Int {
|
|
return if (s == null) {
|
|
""
|
|
}
|
|
else {
|
|
val u: String? = null
|
|
if (u == null) return 0
|
|
<!DEBUG_INFO_SMARTCAST!>u<!>
|
|
}.length
|
|
}
|