[FIR] Report INAPPLICABLE_CANDIDATE or more specific diagnostic for callable references
... instead of just UNRESOLVED_REFERENCE when something went wrong during resolution. #KT-59401 related
This commit is contained in:
committed by
Space Team
parent
6b7eeec181
commit
d91000e39c
+1
-1
@@ -34,7 +34,7 @@ fun main() {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo3<!>(KotlinClass::baz)
|
||||
|
||||
// Type mismatch
|
||||
foo1(KotlinClass::<!UNRESOLVED_REFERENCE!>bar<!>)
|
||||
foo1(KotlinClass::<!INAPPLICABLE_CANDIDATE!>bar<!>)
|
||||
foo2(KotlinClass::bar)
|
||||
foo3(KotlinClass::bar)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user