Improve NON_ACTUAL_MEMBER_DECLARED_IN_EXPECT_NON_FINAL_CLASSIFIER_ACTUALIZATION diagnostic message

In scope of: KT-22841
Review: https://jetbrains.team/p/kt/reviews/11867/timeline
This commit is contained in:
Nikita Bobko
2023-08-24 13:59:34 +02:00
committed by teamcity
parent 3722f4d7d6
commit 3534a4b7a9
@@ -14,7 +14,7 @@ data class ExpectActualMemberDiff<out M, out C>(val kind: Kind, val actualMember
*/ */
enum class Kind(val rawMessage: String) { enum class Kind(val rawMessage: String) {
NonPrivateCallableAdded( NonPrivateCallableAdded(
"{0}: non-private member must be declared in the expect class as well. " + "{0}: non-private member must be declared in both the actual class and the expect class. " +
"This error happens because the expect class ''{1}'' is non-final" "This error happens because the expect class ''{1}'' is non-final"
), ),
ReturnTypeChangedInOverride( ReturnTypeChangedInOverride(