[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
@@ -0,0 +1,8 @@
// FIR_IDENTICAL
// LANGUAGE: +NoDeprecationOnDeprecatedEnumEntries
// ISSUE: KT-37975
@Deprecated("")
enum class Foo(val x: Int) {
A(42)
}