Check 'isDirty' for resolved calls replaced with check 'hasUnresolvedArguments' for call
Don't report 'cannotCompleteResolve' error if some arguments are unresolved (like 'ambiguity')
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//!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<!>)
|
||||
}
|
||||
Reference in New Issue
Block a user