Files
Bart van Helvert 9652c5a2f1 [kotlin] Move K2 fixes into a new module
GitOrigin-RevId: e8001ccd6e80b535ae165acba449d6b16cd27910
2024-03-13 00:27:06 +00:00

10 lines
376 B
Plaintext

// "Wrap with '?.let { ... }' call" "true"
// WITH_STDLIB
object Obj {
fun foo(x: Int) = x
}
val arg: Int? = null
val argFoo = arg?.let { Obj.foo(it) }
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.WrapWithSafeLetCallFixFactories$WrapWithSafeLetCallModCommandAction