Files
kotlin-fork/compiler/testData/resolvedCalls/arguments/functionLiterals/simpleGenericLambda.kt
T
Svetlana Isakova 29ab166e1b Refactoring: AbstractResolvedCallsTest
Render resolved call to a separate file
2014-07-08 14:48:19 +04:00

7 lines
91 B
Kotlin

// !CALL: foo
fun <T> foo(f: (T) -> String) {}
fun test() {
foo { (x: Int) -> "$x"}
}