Report more specific diagnostic for variable + invoke calls

Do not report same set of diagnostics for variable call if actual
 error was happened with a function candidate. Here the candidate is
 invoke function on DeepRecursiveFunction

 ^KT-40991 Fixed
 ^KT-41491 Fixed
 ^KT-40926 In Progress
This commit is contained in:
Mikhail Zarechenskiy
2021-01-21 16:23:03 +03:00
parent c423750962
commit d2ce73853d
9 changed files with 76 additions and 5 deletions
@@ -275,7 +275,7 @@ fun poll8() {
fun poll81() {
val inv = ::bar2 <!TYPE_INFERENCE_ONLY_INPUT_TYPES_WARNING!>in<!> setOf(::foo2)
<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>inv<!>()
<!DEBUG_INFO_MISSING_UNRESOLVED, FUNCTION_EXPECTED!>inv<!>()
}
fun poll82() {