Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/inheritingDeprecation.kt
T
Sergej Jaskiewicz addb048ce9 [FIR] Generate signatures for synthesized class delegation fields
This is to align the behavior with K1.

^KT-57754 Fixed

Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com>
2023-06-26 12:39:37 +00:00

17 lines
329 B
Kotlin
Vendored

interface IFoo {
@Deprecated("")
val prop: String get() = ""
@Deprecated("")
val String.extProp: String get() = ""
}
class Delegated(foo: IFoo) : IFoo by foo
class DefaultImpl : IFoo
class ExplicitOverride : IFoo {
override val prop: String get() = ""
override val String.extProp: String get() = ""
}