[FE 1.0] Prohibit array literals inside nested objects of annotation classes

^KT-39041
^KT-50749 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-01-12 11:29:10 +03:00
committed by teamcity
parent c1575edca4
commit 139a800ff7
14 changed files with 384 additions and 6 deletions
@@ -258,6 +258,7 @@ enum class LanguageFeature(
DisableCheckingChangedProgressionsResolve(KOTLIN_1_9), // KT-49276
ProhibitIllegalValueParameterUsageInDefaultArguments(KOTLIN_1_9, kind = BUG_FIX), // KT-25694
ProhibitConstructorCallOnFunctionalSupertype(KOTLIN_1_9, kind = BUG_FIX), // KT-46344
ProhibitArrayLiteralsInCompanionOfAnnotation(KOTLIN_1_9, kind = BUG_FIX), // KT-39041
// Temporarily disabled, see KT-27084/KT-22379
SoundSmartcastFromLoopConditionForLoopAssignedVariables(sinceVersion = null, kind = BUG_FIX),