Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/cannotCompleteResolveNoneApplicable.fir.kt
T
Dmitriy Novozhilov f283f2db43 [FIR] Improve diagnostic reporting & don't use error symbol for candidate if possible
Also introduce few new diagnostics:
- NONE_APPLICABLE more many inapplicable candidates
- HIDDEN for visible candidates
2020-07-28 20:46:56 +03:00

9 lines
175 B
Kotlin
Vendored

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