[FE 1.0] Don't report deprecation diagnostics about enum on it's own entries

^KT-37975 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-12-06 15:40:30 +03:00
committed by teamcity
parent 6b327d2380
commit b2b5f4a63a
8 changed files with 67 additions and 0 deletions
@@ -246,6 +246,7 @@ enum class LanguageFeature(
InlineClassImplementationByDelegation(KOTLIN_1_7),
QualifiedSupertypeMayBeExtendedByOtherSupertype(KOTLIN_1_7),
YieldIsNoMoreReserved(KOTLIN_1_7),
NoDeprecationOnDeprecatedEnumEntries(KOTLIN_1_7), // KT-37975
// 1.8