Track lambda parameters in inbound data flow analysis

This commit is contained in:
Valentin Kipyatkov
2020-04-10 16:18:07 +03:00
parent 799b2d7291
commit c19a16f1e0
33 changed files with 404 additions and 35 deletions
+11
View File
@@ -0,0 +1,11 @@
// FLOW: IN
fun foo(f: (Int) -> Unit): Int {
return f(1)
}
fun test() {
foo {
println(<caret>it)
}
}