blob: 73adfd31365556c6dd76f3179b64cd5473f0842e [file]
fun foo(p: String?): Int {
// We should get smart cast here
val x = if (p != null) { <!DEBUG_INFO_SMARTCAST!>p<!> } else "a"
return x.length
}