538a746df9
#KT-17119 Fixed
9 lines
358 B
Kotlin
Vendored
9 lines
358 B
Kotlin
Vendored
// "Convert to run { ... }" "false"
|
|
// TOOL: org.jetbrains.kotlin.idea.inspections.FunctionWithLambdaExpressionBodyInspection
|
|
// ACTION: Convert to block body
|
|
// ACTION: Specify explicit lambda signature
|
|
// ACTION: Specify explicit lambda signature
|
|
// ACTION: Specify return type explicitly
|
|
fun test(a: Int, b: Int) = <caret>{ a + b }
|
|
|
|
val foo = test(1, 2)() |