Files
2024-04-15 11:52:39 +00:00

12 lines
307 B
Plaintext

// "Wrap with '?.let { ... }' call" "false"
// ACTION: Add 's =' to argument
// ACTION: Add non-null asserted (s!!) call
// 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))
}