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