Implement deprecation cycle for proper refinement rhs type in assignments for java fields

^KT-46727 Fixed
This commit is contained in:
Victor Petukhov
2021-09-24 12:51:25 +03:00
parent 0cb56be14f
commit e30d467304
17 changed files with 420 additions and 39 deletions
@@ -231,6 +231,7 @@ enum class LanguageFeature(
SafeCallsAreAlwaysNullable(KOTLIN_1_7),
StopPropagatingDeprecationThroughOverrides(KOTLIN_1_7),
AbstractClassMemberNotImplementedWithIntermediateAbstractClass(KOTLIN_1_7, kind = BUG_FIX),
RefineTypeCheckingOnAssignmentsToJavaFields(KOTLIN_1_7),
// Temporarily disabled, see KT-27084/KT-22379
SoundSmartcastFromLoopConditionForLoopAssignedVariables(sinceVersion = null, kind = BUG_FIX),