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

6 lines
131 B
Kotlin
Vendored

fun foo(f: (Int) -> Int) = f(0)
fun bar(f: () -> Int) = f()
fun test() {
foo { bar { (1 + 2) * <selection>it</selection> } }
}