Files
kotlin-fork/idea/testData/refactoring/inline/function/expressionBody/Lambda.kt
T
2017-04-19 13:12:55 +03:00

7 lines
160 B
Kotlin
Vendored

class Declaration {
fun lambdaType(p: Int, f: (Int) -> Int) = f(p)
}
fun call(declaration: Declaration) {
declaration.<caret>lambdaType(6) { it + 7 }
}