report 'ambiguity' on reference, not on the whole expression
as other type inference errors
This commit is contained in:
@@ -2,5 +2,5 @@ fun foo(vararg <!UNUSED_PARAMETER!>t<!> : String) = ""
|
||||
fun foo(vararg <!UNUSED_PARAMETER!>t<!> : Int) = ""
|
||||
|
||||
fun test() {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo()<!>
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>()
|
||||
}
|
||||
Reference in New Issue
Block a user