6c439ae85a
#KT-34744
15 lines
528 B
Kotlin
Vendored
15 lines
528 B
Kotlin
Vendored
// "Convert to run { ... }" "false"
|
|
// TOOL: org.jetbrains.kotlin.idea.inspections.FunctionWithLambdaExpressionBodyInspection
|
|
// ACTION: Convert property getter to initializer
|
|
// ACTION: Convert to block body
|
|
// ACTION: Convert to multi-line lambda
|
|
// ACTION: Enable a trailing comma by default in the formatter
|
|
// ACTION: Specify explicit lambda signature
|
|
// ACTION: Specify explicit lambda signature
|
|
// ACTION: Specify type explicitly
|
|
// ACTION: Specify type explicitly
|
|
val test get() = <caret>{ "" }
|
|
|
|
fun foo() {
|
|
test()
|
|
} |