Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.fir.kt.txt
T

66 lines
1.0 KiB
Plaintext
Vendored

interface IFoo {
@Deprecated(message = "")
val prop: String
get(): String {
return ""
}
@Deprecated(message = "")
val String.extProp: String
get(): String {
return ""
}
}
class Delegated : IFoo {
constructor(foo: IFoo) /* primary */ {
super/*Any*/()
/* <init>() */
}
@Deprecated(message = "")
override val prop: String
override get(): String {
return <this>.#<$$delegate_0>.<get-prop>()
}
@Deprecated(message = "")
override val String.extProp: String
override get(): String {
return (<this>.#<$$delegate_0>, <this>).<get-extProp>()
}
local /* final field */ val <$$delegate_0>: IFoo = foo
}
class DefaultImpl : IFoo {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
class ExplicitOverride : IFoo {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
override val prop: String
override get(): String {
return ""
}
override val String.extProp: String
override get(): String {
return ""
}
}