Files
kotlin-fork/compiler/testData/diagnostics/tests/deprecated/deprecatedEnumEntry.kt
T
Dmitrii Gridin 19dbe69651 [FIR] move deprecations calculation on TYPES phase
can be moved to COMPILER_REQUIRED_ANNOTATIONS phase in the future

^KT-57256 Fixed
2023-03-29 08:52:37 +00:00

15 lines
197 B
Kotlin
Vendored

// FIR_IDENTICAL
// FILE: A.kt
enum class A {
@Deprecated("")
DeprecatedEntry,
RegularEntry
}
// FILE: use.kt
fun use() {
A.<!DEPRECATION!>DeprecatedEntry<!>
A.RegularEntry
}