cb50ea2707
^KT-32725 In Progress
13 lines
182 B
Kotlin
Vendored
13 lines
182 B
Kotlin
Vendored
interface A
|
|
interface B
|
|
|
|
fun fooB(b: B) {}
|
|
|
|
fun <T> bar(f: (T) -> Unit, e: T) {}
|
|
fun <T> baz(e: T, f: (T) -> Unit) {}
|
|
|
|
fun test(a: A, b: B) {
|
|
baz(a, ::fooB)
|
|
bar(::fooB, a)
|
|
}
|