Parse some builtin annotations as modifiers
But still resolve them as annotations. Mostly it's needed as begin of migration path, one day they become modifiers anyway Some tests are dropped because they supposed that `annotation` should have parameter
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
annotation class B
|
||||
|
||||
class A {
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> companion object {}
|
||||
<!WRONG_MODIFIER_TARGET!>annotation<!> companion object {}
|
||||
}
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> object O {}
|
||||
<!WRONG_MODIFIER_TARGET!>annotation<!> object O {}
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> interface T {}
|
||||
<!WRONG_MODIFIER_TARGET!>annotation<!> interface T {}
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> fun f() = 0
|
||||
<!WRONG_MODIFIER_TARGET!>annotation<!> fun f() = 0
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> val x = 0
|
||||
<!WRONG_MODIFIER_TARGET!>annotation<!> val x = 0
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>annotation<!> var y = 0
|
||||
<!WRONG_MODIFIER_TARGET!>annotation<!> var y = 0
|
||||
Reference in New Issue
Block a user