Remove unnecessary deprecation annotation

Private members on private companion objects have proper visibility
so there is no need for the @Deprecated annotation.

^KT-54539 Fixed
This commit is contained in:
Johan Bay
2022-10-20 10:11:44 +02:00
committed by Alexander Udalov
parent b42a7be0de
commit 9f3d8130db
6 changed files with 69 additions and 32 deletions
@@ -16,6 +16,15 @@ class TestClass {
}
}
class TestClass2 {
private companion object {
val testPublic: String = "1"
private val testPrivate: String = "2"
const val testPublicConst: String = "3"
}
}
interface TestConst {
private companion object {
@@ -29,4 +38,4 @@ interface TestJvmField {
@JvmField
val test3: String = "3"
}
}
}