5 return x(1) (in foo((Int) -> Int)) 9 val y = foo { it } (in test()) 9 val y = foo { it } (in test()) 3 fun foo(f: (Int) -> Int): Int { 5 return x(1) (in foo((Int) -> Int)) 5 [LAMBDA IN] return x(1) (in foo((Int) -> Int)) 4 [LAMBDA IN] val x = f (in foo((Int) -> Int)) 4 [LAMBDA IN] val x = f (in foo((Int) -> Int)) 3 [LAMBDA IN] fun foo(f: (Int) -> Int): Int { (in foo((Int) -> Int)) 9 [LAMBDA IN] val y = foo { it } (in test()) 9 val y = foo { it } (in test()) 9 val y = foo { it } (in test()) 9 [LAMBDA CALLS ARGUMENT #0] val y = foo { it } (in test()) 3 [LAMBDA CALLS ARGUMENT #0] fun foo(f: (Int) -> Int): Int { (in foo((Int) -> Int)) 4 [LAMBDA CALLS ARGUMENT #0] val x = f (in foo((Int) -> Int)) 4 [LAMBDA CALLS ARGUMENT #0] val x = f (in foo((Int) -> Int)) 5 return x(1) (in foo((Int) -> Int))