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