Merged LambdaResultOutflowBehaviour and LambdaCallsBehaviour into one

This commit is contained in:
Valentin Kipyatkov
2020-04-11 11:07:04 +03:00
parent 1e39d4a63c
commit 61d4383cb9
48 changed files with 242 additions and 254 deletions
@@ -3,11 +3,11 @@
10 val x = <bold>foo(f)</bold>
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
4 return <bold>f(1)</bold>
4 [LAMBDA] return <bold>f</bold>(1)
3 [LAMBDA] fun foo(<bold>f: (Int) -> Int</bold>): Int {
10 [LAMBDA] val x = foo(<bold>f</bold>)
9 [LAMBDA] val <bold>f = ::bar</bold>
9 [LAMBDA] val f = <bold>::bar</bold>
4 [LAMBDA IN] return <bold>f</bold>(1)
3 [LAMBDA IN] fun foo(<bold>f: (Int) -> Int</bold>): Int {
10 [LAMBDA IN] val x = foo(<bold>f</bold>)
9 [LAMBDA IN] val <bold>f = ::bar</bold>
9 [LAMBDA IN] val f = <bold>::bar</bold>
8 fun <bold>bar(n: Int) = n</bold>
8 fun bar(n: Int) = <bold>n</bold>
8 fun bar(<bold>n: Int</bold>) = n