[FE 1.0] Don't report deprecation diagnostics about enum on it's own entries
^KT-37975 Fixed
This commit is contained in:
committed by
teamcity
parent
6b327d2380
commit
b2b5f4a63a
@@ -0,0 +1,8 @@
|
||||
// FIR_IDENTICAL
|
||||
// LANGUAGE: +NoDeprecationOnDeprecatedEnumEntries
|
||||
// ISSUE: KT-37975
|
||||
|
||||
@Deprecated("")
|
||||
enum class Foo(val x: Int) {
|
||||
A(42)
|
||||
}
|
||||
Reference in New Issue
Block a user