Track lambda parameters in inbound data flow analysis
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// FLOW: IN
|
||||
|
||||
fun foo(f: (Int) -> Unit): Int {
|
||||
return f(1)
|
||||
}
|
||||
|
||||
fun test() {
|
||||
foo { value ->
|
||||
println(<caret>value)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user