Introduce Variable: Allow choosing extraction scope for expressions in the lambda body

#KT-7720 Fixed
This commit is contained in:
Alexey Sedunov
2015-11-13 15:06:34 +03:00
parent 70049171cd
commit 5889971d62
25 changed files with 334 additions and 16 deletions
@@ -0,0 +1,5 @@
fun foo(f: () -> Int) { }
fun test() {
foo(fun() = (<selection>1 + 2</selection>) * 3)
}