[FE 1.0] Report warning on non-exhaustive when statements only after 1.6

^KT-47709
This commit is contained in:
Dmitriy Novozhilov
2021-07-21 10:50:39 +03:00
committed by teamcityserver
parent 865ad3698b
commit a710a8d10f
33 changed files with 489 additions and 21 deletions
@@ -215,6 +215,7 @@ enum class LanguageFeature(
ProhibitSimplificationOfNonTrivialConstBooleanExpressions(KOTLIN_1_6),
TypeInferenceOnCallsWithSelfTypes(KOTLIN_1_6),
OptInRelease(KOTLIN_1_6),
WarnAboutNonExhaustiveWhenOnAlgebraicTypes(KOTLIN_1_6, kind = BUG_FIX),
// 1.7