Introduce Variable: Allow choosing extraction scope for expressions in the lambda body
#KT-7720 Fixed
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
fun foo(f: () -> Int) { }
|
||||
|
||||
fun test() {
|
||||
foo(fun(): Int { return (<selection>1 + 2</selection>) * 3 })
|
||||
}
|
||||
Reference in New Issue
Block a user