Files
kotlin-fork/idea/testData/quickfix/nullables/unsafeInfixCall/unsafeInvoke.kt
T
Mikhail Glukhikh 995a633229 Replace with safe call works now on UNSAFE_IMPLICIT_INVOKE #KT-12628 Fixed
(cherry picked from commit 208798d)
2016-07-29 20:12:11 +03:00

3 lines
85 B
Kotlin
Vendored

// "Replace with safe (?.) call" "true"
fun foo(exec: (() -> Unit)?) = exec<caret>()