Analyze Data Flow: Support lambdas/anonymous functions
#KT-11994 In Progress
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// FLOW: IN
|
||||
|
||||
fun foo(f: (Int) -> Int): Int {
|
||||
return f(1)
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val <caret>x = foo { it }
|
||||
}
|
||||
Reference in New Issue
Block a user