Data Inflow: Support grouping by leaf expressions

This commit is contained in:
Alexey Sedunov
2017-11-09 21:26:42 +03:00
committed by Nikolay Krasko
parent b46784ab86
commit 683bbe396d
60 changed files with 1074 additions and 80 deletions
@@ -0,0 +1,13 @@
9 val y = foo { <bold>it</bold> }
9 val <bold>y = foo { it }</bold>
9 val y = <bold>foo { it }</bold>
3 fun <bold>foo(f: (Int) -> Int): Int {</bold>
5 return <bold>x(1)</bold>
5 [LAMBDA] return <bold>x</bold>(1)
4 [LAMBDA] val <bold>x = f</bold>
4 [LAMBDA] val x = <bold>f</bold>
3 [LAMBDA] fun foo(<bold>f: (Int) -> Int</bold>): Int {
9 [LAMBDA] val y = foo <bold>{ it }</bold>
9 val y = foo <bold>{ it }</bold>
9 val y = foo { <bold>it</bold> }