Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/cannotCompleteResolveNoneApplicable.kt
T

9 lines
313 B
Kotlin
Vendored

package f
fun <T> f(<!UNUSED_PARAMETER!>i<!>: Int, <!UNUSED_PARAMETER!>t<!>: T, <!UNUSED_PARAMETER!>c<!>: MutableCollection<T>) {}
fun <T> f(<!UNUSED_PARAMETER!>a<!>: Any, <!UNUSED_PARAMETER!>t<!>: T, <!UNUSED_PARAMETER!>l<!>: MutableList<T>) {}
fun test(l: List<Int>) {
<!NONE_APPLICABLE!>f<!>(1, "", l)
}