d61ddaccb6
#KT-11994 In Progress
11 lines
147 B
Kotlin
Vendored
11 lines
147 B
Kotlin
Vendored
// FLOW: OUT
|
|
|
|
fun foo(f: (Int) -> Int): Int {
|
|
return f(1)
|
|
}
|
|
|
|
fun test() {
|
|
fun bar(n: Int) = <caret>n
|
|
val f = ::bar
|
|
val x = foo(f)
|
|
} |