mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
415 B
Kotlin
11 lines
415 B
Kotlin
// "Wrap with '?.let { ... }' call" "false"
|
|
// ACTION: Add non-null asserted (l!!) call
|
|
// ACTION: Replace overloaded operator with function call
|
|
// ACTION: Replace with safe (?.) call
|
|
// ACTION: Surround with null check
|
|
// ERROR: Operator call corresponds to a dot-qualified call 'l.contains(s)' which is not allowed on a nullable receiver 'l'.
|
|
|
|
fun test(l: List<String>?, s: String) {
|
|
if (s <caret>in l) {}
|
|
}
|