K2: introduce custom Enum.entries migration checkers
Related to KT-56623, KT-56587 #KT-59344 Fixed
This commit is contained in:
committed by
Space Team
parent
e0d68fc93e
commit
3ff2c7d6f7
+2
@@ -142,3 +142,5 @@ object UnsupportedContextualDeclarationCall : ResolutionDiagnostic(INAPPLICABLE)
|
||||
class AmbiguousValuesForContextReceiverParameter(
|
||||
val expectedContextReceiverType: ConeKotlinType,
|
||||
) : ResolutionDiagnostic(INAPPLICABLE)
|
||||
|
||||
object ResolutionResultOverridesOtherToPreserveCompatibility : ResolutionDiagnostic(RESOLVED)
|
||||
|
||||
+6
@@ -366,3 +366,9 @@ class ConeAmbiguouslyResolvedAnnotationArgument(
|
||||
- compiler arguments stage: $symbolFromAnnotationArgumentsPhase
|
||||
"""
|
||||
}
|
||||
|
||||
object ConeResolutionResultOverridesOtherToPreserveCompatibility : ConeDiagnostic {
|
||||
override val reason: String
|
||||
get() = "Resolution result overrides another result to preserve compatibility, result maybe changed in future versions"
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user