[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:
Brian Norman
2023-05-30 12:49:52 -05:00
committed by Space Team
parent 5fe5113344
commit 8fad4272fc
5 changed files with 16 additions and 1 deletions
@@ -1,5 +1,6 @@
// ISSUE: KT-55179
// SKIP_TXT
// !RENDER_DIAGNOSTICS_FULL_TEXT
private class Foo {
companion object {