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