Files
2015-10-07 08:46:34 +03:00

8 lines
199 B
Kotlin
Vendored

fun foo(y: Int) = y
fun calc(x: List<String>?): Int {
foo(x!!.size)
// Here we should have smart cast because of x!!, despite of KT-7204 fixed
return <!DEBUG_INFO_SMARTCAST!>x<!>.size
}