Files
kotlin-fork/idea/testData/inspectionsLocal/functionWithLambdaExpressionBody/wrapRun/function.kt
T
Toshiaki Kameyama 538a746df9 Introduce "Function with = { ... }" inspection
#KT-17119 Fixed
2018-12-26 19:14:06 +03:00

3 lines
90 B
Kotlin
Vendored

// FIX: Convert to run { ... }
// WITH_RUNTIME
fun test(a: Int, b: Int) = <caret>{ a + b }