Some usages of JetClassOrObject.isAnnotation() are removed. Related test fixed.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
annotation class B
|
||||
|
||||
class A {
|
||||
annotation companion object {}
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> companion object {}
|
||||
}
|
||||
|
||||
annotation object O {}
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> object O {}
|
||||
|
||||
annotation interface T {}
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> interface T {}
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> fun f() = 0
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ kotlin.annotation.annotation() internal object O {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal interface T : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal interface T {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user