9 lines
292 B
Kotlin
Vendored
9 lines
292 B
Kotlin
Vendored
public fun foo(p: String?, y: String?): Int {
|
|
do {
|
|
// After this !!, y. should be smartcasted in loop as well as outside
|
|
y!!.length
|
|
if (p == null) break
|
|
<!DEBUG_INFO_SMARTCAST!>y<!>.length
|
|
} while (true)
|
|
return <!DEBUG_INFO_SMARTCAST!>y<!>.length
|
|
} |