Files
kotlin-fork/idea/testData/refactoring/introduceVariable/extractToScope/insideFunExpressionWithBlock.kt
T

5 lines
107 B
Kotlin
Vendored

fun foo(f: () -> Int) { }
fun test() {
foo(fun(): Int { return (<selection>1 + 2</selection>) * 3 })
}