mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
14 lines
360 B
Kotlin
14 lines
360 B
Kotlin
// "Wrap with '?.let { ... }' call" "false"
|
|
// ACTION: Add 's =' to argument
|
|
// ACTION: Add non-null asserted (s!!) call
|
|
// ACTION: Convert to run
|
|
// ACTION: Convert to with
|
|
// ACTION: Replace with safe (?.) call
|
|
// ACTION: Surround with null check
|
|
// DISABLE-ERRORS
|
|
// WITH_STDLIB
|
|
fun foo(s: String?) {}
|
|
|
|
fun bar(s: String?) {
|
|
foo(s<caret>.substring(1))
|
|
} |