Files
kotlin-fork/idea/testData/quickfix/smartCastImpossibleInIfThen/ifThen4.kt
T

8 lines
166 B
Kotlin
Vendored

// "Replace 'if' expression with safe access expression" "true"
class Test {
var x: Any? = null
fun test() {
if (x is String) <caret>x.length
}
}