12 lines
206 B
Kotlin
Vendored
12 lines
206 B
Kotlin
Vendored
interface A
|
|
interface Foo {
|
|
operator fun A.invoke()
|
|
}
|
|
|
|
fun test(a: A, foo: Foo) {
|
|
a.<!UNRESOLVED_REFERENCE!>foo<!>()
|
|
}
|
|
|
|
fun test(a: Int, foo: Int.()->Unit) {
|
|
a.<!UNRESOLVED_REFERENCE!>foo<!>()
|
|
} |