[FIR] Fix default message for PRIVATE_CLASS_MEMBER_FROM_INLINE
Error message was only printing the calling inline function and not the class member being accessed. Make sure both pieces for diagnostic information are included in the error message. #KT-58972 Fixed
This commit is contained in:
+1
-1
@@ -2161,7 +2161,7 @@ object FirErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
)
|
||||
map.put(
|
||||
PRIVATE_CLASS_MEMBER_FROM_INLINE,
|
||||
"Non-private inline function cannot access members of private classes: ''{1}''",
|
||||
"Non-private inline function ''{1}'' cannot access members of private classes: ''{0}''",
|
||||
SYMBOL,
|
||||
SYMBOL
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user