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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user