[FIR] Additional errors to distinguish resolution to classifier cases

When a call is resolved to a classifier, only a single error message was
being used for multiple cases. This lead to confusion as the default
message may not be applicable to a given error case. Added additional
errors and messages to distinguish between these error cases.

#KT-57251 Fixed
This commit is contained in:
Brian Norman
2023-06-02 09:34:49 -05:00
committed by Space Team
parent ac79633590
commit 0ff9982b31
44 changed files with 582 additions and 39 deletions
@@ -43,7 +43,7 @@ fun f() {
C.O
C.O.InO
C.A()
C.<!RESOLUTION_TO_CLASSIFIER!>B<!>()
C.<!INNER_CLASS_CONSTRUCTOR_NO_RECEIVER!>B<!>()
C.E3.<!UNRESOLVED_REFERENCE!>O_O<!>
C.E3.<!UNRESOLVED_REFERENCE!>G<!>()
@@ -43,7 +43,7 @@ fun f() {
C.O
C.O.InO
C.A()
C.<!RESOLUTION_TO_CLASSIFIER!>B<!>()
C.<!INNER_CLASS_CONSTRUCTOR_NO_RECEIVER!>B<!>()
C.E3.<!UNRESOLVED_REFERENCE!>O_O<!>
C.E3.<!UNRESOLVED_REFERENCE!>G<!>()