Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/annotations/kt55286.kt
T
Ilya Kirillov 69c024a5ce [FIR] optimize deprecation calculation for symbols
All symbols except member callables can be deprecated if they have non-empty annotation list

^KT-56800 fixed
2023-02-24 16:10:57 +01:00

14 lines
199 B
Kotlin
Vendored

// ISSUE: KT-55286
annotation class Deprecated<T>
open class Base(
@Deprecated<Nested> val a: String,
) {
class Nested
}
class Derived(
@Deprecated<Nested> val b: String,
) : Base("")