Some usages of JetClassOrObject.isAnnotation() are removed. Related test fixed.

This commit is contained in:
Mikhail Glukhikh
2015-07-14 16:01:40 +03:00
parent 7f12965741
commit 2a1058ed63
8 changed files with 30 additions and 25 deletions
@@ -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