d12a24418e
RemoveUselessCastFix.
9 lines
142 B
Plaintext
Vendored
9 lines
142 B
Plaintext
Vendored
// "Remove useless cast" "true"
|
|
fun test(x: Any): Int {
|
|
if (x is String) {
|
|
return x.length
|
|
}
|
|
return -1
|
|
}
|
|
|
|
/* IGNORE_FIR */ |