[K/N][K2] INCOMPATIBLE_OBJC_NAME_OVERRIDE error message changed from K1

There's been a change in the error message for
INCOMPATIBLE_OBJC_NAME_OVERRIDE in K2 which makes it much more difficult
to diagnose the underlying issue. Previously in K1 the symbol that had
an incompatible objc name would be output, but in K2 only the class
declaration is output making it difficult to determine which member is
causing the error.

#KT-65572 Fixed
This commit is contained in:
Mark Mann
2024-02-15 12:59:58 +02:00
committed by Space Team
parent e6f4d6e6fa
commit ec12637d7a
@@ -82,7 +82,7 @@ object FirNativeObjCNameUtilities {
reporter.reportOn(
declarationToReport.source,
FirNativeErrors.INCOMPATIBLE_OBJC_NAME_OVERRIDE,
declarationToReport.symbol,
memberSymbol,
containingDeclarations,
context
)