Files
kotlin-fork/compiler/fir/resolve/testData/diagnostics/callableReferences/fromBasicDiagnosticTests/resolveCallableReferencesAfterAllSimpleArguments.kt
T
2019-10-28 17:07:02 +03:00

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)
}