Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/call/smartCastWithNullCheck.kt

7 lines
104 B
Kotlin
Vendored

// "Create function 'foo'" "true"
fun test(s: String?) {
if (s == null) return
<caret>foo(s)
}