[FIR][checkers] Handle ConeHiddenCandidateError in FirDestructuringDeclarationChecker properly
#KT-66595 Fixed
This commit is contained in:
committed by
Space Team
parent
89a0cde514
commit
e9d5396fa9
+9
@@ -124,6 +124,15 @@ object FirDestructuringDeclarationChecker : FirPropertyChecker(MppCheckerKind.Co
|
||||
context
|
||||
)
|
||||
}
|
||||
is ConeHiddenCandidateError -> {
|
||||
reporter.reportOn(
|
||||
source,
|
||||
FirErrors.COMPONENT_FUNCTION_MISSING,
|
||||
diagnostic.candidate.callInfo.name,
|
||||
destructuringDeclarationType,
|
||||
context
|
||||
)
|
||||
}
|
||||
is ConeInapplicableWrongReceiver -> {
|
||||
reporter.reportOn(
|
||||
source,
|
||||
|
||||
Reference in New Issue
Block a user