Files
kotlin/idea/testData/refactoring/inline/function/expressionBody/LambdaGeneric.kt
Mikhail Glukhikh f8e1f5e613 Inliner: specify explicit lambda signature for calls with lambdas
So #KT-17213 Fixed
So #KT-17395 Fixed
2017-04-19 13:12:55 +03:00

4 lines
103 B
Kotlin
Vendored

fun <T, U> operateLambda(p: T, f: (T) -> U) = f(p)
fun returnLabel() {
<caret>operateLambda(1) {}
}