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

10 lines
189 B
Kotlin
Vendored

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