JVM_IR KT-43524 static wrappers for deprecated accessors are deprecated
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
// WITH_RUNTIME
|
||||
// JVM_TARGET: 1.8
|
||||
|
||||
class TestClass {
|
||||
companion object {
|
||||
@Deprecated("")
|
||||
@JvmStatic
|
||||
val a: Int = 1
|
||||
}
|
||||
}
|
||||
|
||||
object TestObject {
|
||||
@Deprecated("")
|
||||
@JvmStatic
|
||||
val a: Int = 1
|
||||
}
|
||||
|
||||
interface TestInterface {
|
||||
companion object {
|
||||
@Deprecated("")
|
||||
@JvmStatic
|
||||
val a: Int = 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user