[NI] Fix reporting of overload resolution ambiguity

This commit is contained in:
Dmitriy Novozhilov
2019-04-19 14:29:05 +03:00
parent f9cc3d9be3
commit bfb13803d5
8 changed files with 24 additions and 20 deletions
@@ -8,6 +8,6 @@ fun bar(i: Int) {}
fun bar(s: String) {}
fun test() {
<!NI;OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>(<!UNRESOLVED_REFERENCE!>rrr<!>, 1)
<!NI;OVERLOAD_RESOLUTION_AMBIGUITY!>bar<!>(<!UNRESOLVED_REFERENCE!>rrr<!>)
foo(<!UNRESOLVED_REFERENCE!>rrr<!>, 1)
bar(<!UNRESOLVED_REFERENCE!>rrr<!>)
}