636024f676
Create the field directly and maintain the fact that its corresponding property is the companion object property. That property has the deprecated annotation which puts the deprecated marker on the field when code generating the field. ^KT-54840 Fixed
13 lines
194 B
Kotlin
Vendored
13 lines
194 B
Kotlin
Vendored
interface A {
|
|
companion object {
|
|
@Deprecated("no")
|
|
const val s = "yes"
|
|
}
|
|
}
|
|
|
|
class B {
|
|
companion object {
|
|
@Deprecated("no")
|
|
const val s = "yes"
|
|
}
|
|
} |