Files
kotlin-fork/compiler/testData/diagnostics/tests/incompleteCode/unresolvedArguments.kt
T
Svetlana Isakova b2c2e1811c Check 'isDirty' for resolved calls replaced with check 'hasUnresolvedArguments' for call
Don't report 'cannotCompleteResolve' error if some arguments are unresolved (like 'ambiguity')
2014-07-08 14:48:19 +04:00

13 lines
235 B
Kotlin

//!DIAGNOSTICS: -UNUSED_PARAMETER
fun foo<T>(i: Int, t: T) {}
fun foo<T>(s: String, t: T) {}
fun bar(i: Int) {}
fun bar(s: String) {}
fun test() {
foo(<!UNRESOLVED_REFERENCE!>rrr<!>, 1)
bar(<!UNRESOLVED_REFERENCE!>rrr<!>)
}