69c024a5ce
All symbols except member callables can be deprecated if they have non-empty annotation list ^KT-56800 fixed
14 lines
199 B
Kotlin
Vendored
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("")
|