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

7 lines
162 B
Kotlin
Vendored

class Declaration {
fun lambdaType(p: Int, f: (Int) -> Int) = f(p)
}
fun call(declaration: Declaration) {
declaration.<caret>lambdaType(10) { _ -> 11 }
}