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

9 lines
104 B
Kotlin
Vendored

fun foo(x: Int) {}
fun foo(y: String) {}
fun <T> bar(f: (T) -> Unit) {}
fun test() {
bar(::foo)
}