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

6 lines
163 B
Kotlin
Vendored

class Declaration {
fun lambdaType(p: Int, f: (Int) -> Int) = f(p)
}
fun call(declaration: Declaration) {
declaration.<caret>lambdaType(8) { x -> x + 9 }}