[FE 1.0] Postpone turning NON_VARARG_SPREAD_WARNING into error till 1.8 to have a deprecation cycle of proper duration

^KT-48162
This commit is contained in:
Victor Petukhov
2022-05-04 15:55:58 +02:00
parent a8fc2158d0
commit 94433a1600
3 changed files with 4 additions and 4 deletions
@@ -222,7 +222,6 @@ enum class LanguageFeature(
ProhibitSmartcastsOnPropertyFromAlienBaseClass(KOTLIN_1_7, kind = BUG_FIX),
ProhibitInvalidCharsInNativeIdentifiers(KOTLIN_1_7, kind = BUG_FIX),
DefinitelyNonNullableTypes(KOTLIN_1_7),
ReportNonVarargSpreadOnGenericCalls(KOTLIN_1_7, kind = BUG_FIX),
ProhibitSimplificationOfNonTrivialConstBooleanExpressions(KOTLIN_1_7),
SafeCallsAreAlwaysNullable(KOTLIN_1_7),
RefineTypeCheckingOnAssignmentsToJavaFields(KOTLIN_1_7),
@@ -262,6 +261,7 @@ enum class LanguageFeature(
ModifierNonBuiltinSuspendFunError(KOTLIN_1_8),
SynchronizedSuspendError(KOTLIN_1_8),
EnableDfaWarningsInK2(KOTLIN_1_8, kind = OTHER), // KT-50965
ReportNonVarargSpreadOnGenericCalls(KOTLIN_1_8, kind = BUG_FIX), // KT-48162
// 1.9