Files
kotlin-fork/idea/testData/refactoring/introduceVariable/extractToScope/insideNestedLambdaInFunExpression.kt.after
T
2015-11-24 20:40:07 +03:00

6 lines
92 B
Plaintext
Vendored

fun foo(f: () -> Int) = f()
fun test() {
val i = 1 + 2
foo(fun() = foo { i * 3 })
}