[FIR] Report NONE_APPLICABLE on callable references with multiple failed candidates

This commit is contained in:
Kirill Rakhman
2023-11-07 15:33:31 +01:00
committed by Space Team
parent 6d2ab92d91
commit d54068b8ab
12 changed files with 33 additions and 31 deletions
@@ -40,7 +40,7 @@ fun main() {
foo1(KotlinClass2::bar)
// Type mismatch
foo2(KotlinClass2::<!UNRESOLVED_REFERENCE!>bar<!>)
foo2(KotlinClass2::<!NONE_APPLICABLE!>bar<!>)
foo3(KotlinClass2::bar)
}