Files
Vladimir Dolzhenko f36778006d [kotlin] Align K2 test data file names
#KTIJ-29583

GitOrigin-RevId: 150fae6655bde2c4b7120edf2223c3112a4f2121
2024-07-13 18:32:27 +00:00

11 lines
429 B
Kotlin

// "Wrap with '?.let { ... }' call" "true"
// ACTION: Add non-null asserted (l!!) call
// ACTION: Replace overloaded operator with function call
// ACTION: Replace with safe (?.) call
// ACTION: Surround with null check
fun test(l: List<String>?, s: String) {
if (s <caret>in l) {}
}
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.WrapWithSafeLetCallFixFactories$WrapWithSafeLetCallModCommandAction