Files
kotlin-fork/analysis/low-level-api-fir/testData/lazyResolve/syntheticResultDeclarationWithBigBody.kts
Dmitrii Gridin 33e6a85a2d [LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
2023-09-18 21:12:45 +00:00

12 lines
174 B
Kotlin
Vendored

// RESOLVE_SCRIPT
// MEMBER_NAME_FILTER: $$result
fun <T> foo(action: () -> T): T = action()
foo {
println("foo")
foo {
val i = 1
println(i)
}
}