mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KTIJ-23751 Fixed closes https://github.com/JetBrains/intellij-community/pull/2261 GitOrigin-RevId: de336ed267e1d433bf58593a4acf0ef83b151d81
14 lines
178 B
Kotlin
14 lines
178 B
Kotlin
// WITH_STDLIB
|
|
// PROBLEM: none
|
|
|
|
import kotlin.reflect.KFunction
|
|
|
|
class C {
|
|
fun foo() {}
|
|
}
|
|
|
|
fun bar(f: () -> KFunction<Unit>) {}
|
|
|
|
fun test(c: C) {
|
|
bar { c::foo }<caret>
|
|
} |