[FIR] Add test for KT-55286

This commit is contained in:
Dmitriy Novozhilov
2022-12-06 10:48:02 +02:00
committed by Space Team
parent a86bc425e5
commit 2aad466d00
6 changed files with 111 additions and 0 deletions
@@ -0,0 +1,13 @@
// ISSUE: KT-55286
annotation class Deprecated<T>
open class Base(
@Deprecated<<!UNRESOLVED_REFERENCE, UNRESOLVED_REFERENCE!>Nested<!>> val a: String,
) {
class Nested
}
class Derived(
@Deprecated<<!UNRESOLVED_REFERENCE, UNRESOLVED_REFERENCE!>Nested<!>> val b: String,
) : Base("")