KT-43370 ACC_DEPRECATED on property accessors implemented by delegation
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
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() = ""
|
||||
}
|
||||
Reference in New Issue
Block a user