18 lines
1.1 KiB
Plaintext
Vendored
18 lines
1.1 KiB
Plaintext
Vendored
5 return x(<bold>1</bold>) (in foo((Int) -> Int))
|
|
9 <bold>val y</bold> = foo { it } (in test())
|
|
9 val y = <bold>foo { it }</bold> (in test())
|
|
3 <bold>fun foo(f: (Int) -> Int): Int</bold> {
|
|
5 return <bold>x(1)</bold> (in foo((Int) -> Int))
|
|
5 [LAMBDA IN] return <bold>x</bold>(1) (in foo((Int) -> Int))
|
|
4 [LAMBDA IN] <bold>val x</bold> = f (in foo((Int) -> Int))
|
|
4 [LAMBDA IN] val x = <bold>f</bold> (in foo((Int) -> Int))
|
|
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
|
|
9 [LAMBDA IN] val y = foo <bold>{ it }</bold> (in test())
|
|
9 val y = foo <bold>{ it }</bold> (in test())
|
|
9 val y = foo { <bold>it</bold> } (in test())
|
|
9 [LAMBDA CALLS ARGUMENT #0] val y = foo <bold>{ it }</bold> (in test())
|
|
3 [LAMBDA CALLS ARGUMENT #0] fun foo(<bold>f: (Int) -> Int</bold>): Int { (in foo((Int) -> Int))
|
|
4 [LAMBDA CALLS ARGUMENT #0] val x = <bold>f</bold> (in foo((Int) -> Int))
|
|
4 [LAMBDA CALLS ARGUMENT #0] <bold>val x</bold> = f (in foo((Int) -> Int))
|
|
5 return x(<bold>1</bold>) (in foo((Int) -> Int))
|