7 lines
356 B
Kotlin
Vendored
7 lines
356 B
Kotlin
Vendored
// "Replace with safe (?.) call" "false"
|
|
// ACTION: Convert to block body
|
|
// ACTION: Replace overloaded operator with function call
|
|
// ACTION: Wrap with '?.let { ... }' call
|
|
// ERROR: Reference has a nullable type '(String.() -> Unit)?', use explicit '?.invoke()' to make a function-like call instead
|
|
|
|
fun foo(exec: (String.() -> Unit)?) = "".exec<caret>() |