Check deprecated annotations with use site targets
This commit is contained in:
@@ -11,6 +11,6 @@ public class A {
|
||||
|
||||
// FILE: B.kt
|
||||
|
||||
class B(private @deprecated val foo: String) : <!DEPRECATED_SYMBOL_WITH_MESSAGE!>A<!>() {
|
||||
class B(private @property:deprecated val foo: String) : <!DEPRECATED_SYMBOL_WITH_MESSAGE!>A<!>() {
|
||||
override fun getFoo(text: String): String = super.<!DEPRECATED_SYMBOL_WITH_MESSAGE!>getFoo<!>(text + <!DEPRECATED_SYMBOL!>foo<!>)
|
||||
}
|
||||
@@ -9,7 +9,7 @@ kotlin.deprecated(value = "Deprecated in Java") public open class A {
|
||||
}
|
||||
|
||||
internal final class B : A {
|
||||
public constructor B(/*0*/ kotlin.deprecated() foo: kotlin.String)
|
||||
public constructor B(/*0*/ foo: kotlin.String)
|
||||
kotlin.deprecated() private final val foo: kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ fun getFoo(/*0*/ text: kotlin.String): kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user