Tracking of receiver for incoming lambda's for outflow analysis + better handling of invoke and operator calls

This commit is contained in:
Valentin Kipyatkov
2020-04-12 20:39:06 +03:00
parent 8f01427534
commit 04d4f7444e
11 changed files with 262 additions and 95 deletions
@@ -0,0 +1,9 @@
// FLOW: OUT
fun test() {
val x = foo { <caret>1 }
}
fun foo(callback: () -> Int): Int {
return callback.invoke()
}