If all candidates are invisible then don't report ambiguity

#KT-10045 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-06-20 15:07:16 +03:00
parent cd1ae7f0f2
commit 4b3ffd9418
11 changed files with 53 additions and 21 deletions
@@ -27,8 +27,8 @@ import k.all
fun test() {
<!INVISIBLE_MEMBER!>zero<!>()
<!NONE_APPLICABLE!>zero<!>(1)
<!NONE_APPLICABLE!>zero<!>("")
<!INVISIBLE_MEMBER!>zero<!>(1)
<!INVISIBLE_MEMBER!>zero<!>("")
one()
one(<!TOO_MANY_ARGUMENTS!>1<!>)