Track anonymous function parameters in inbound data flow analysis as well

This commit is contained in:
Valentin Kipyatkov
2020-04-10 20:48:10 +03:00
parent f0d4d7bb86
commit b5b0fd62a9
13 changed files with 81 additions and 11 deletions
@@ -0,0 +1,11 @@
// FLOW: IN
fun foo(f: (Int) -> Unit) {
f(1)
}
fun test() {
foo(fun(value: Int) {
val <caret>v = value
})
}