[FIR] Add test for KT-55286
This commit is contained in:
committed by
Space Team
parent
a86bc425e5
commit
2aad466d00
@@ -0,0 +1,32 @@
|
||||
FILE: kt55286.kt
|
||||
public final annotation class Deprecated<T> : R|kotlin/Annotation| {
|
||||
public constructor<T>(): R|Deprecated<T>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public open class Base : R|kotlin/Any| {
|
||||
public constructor(@R|Deprecated<ERROR CLASS: Symbol not found for Nested>|() a: R|kotlin/String|): R|Base| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
@R|Deprecated<ERROR CLASS: Symbol not found for Nested>|() public final val a: R|kotlin/String| = R|<local>/a|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final class Nested : R|kotlin/Any| {
|
||||
public constructor(): R|Base.Nested| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final class Derived : R|Base| {
|
||||
public constructor(@R|Deprecated<ERROR CLASS: Symbol not found for Nested>|() b: R|kotlin/String|): R|Derived| {
|
||||
super<R|Base|>(String())
|
||||
}
|
||||
|
||||
@R|Deprecated<ERROR CLASS: Symbol not found for Nested>|() public final val b: R|kotlin/String| = R|<local>/b|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
@@ -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("")
|
||||
Reference in New Issue
Block a user