Targeting / retention for a set of standard annotations, some inapplicable annotation checks replaced with target check, some fixed tests
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
class A {
|
||||
<!INAPPLICABLE_ANNOTATION!>native constructor() {}<!>
|
||||
<!WRONG_ANNOTATION_TARGET!>native<!> constructor() {}
|
||||
inner class B {
|
||||
<!INAPPLICABLE_ANNOTATION!>native constructor() {}<!>
|
||||
<!WRONG_ANNOTATION_TARGET!>native<!> constructor() {}
|
||||
}
|
||||
|
||||
<!INAPPLICABLE_ANNOTATION!>native constructor(<!UNUSED_PARAMETER!>x<!>: Int)
|
||||
<!>}
|
||||
<!WRONG_ANNOTATION_TARGET!>native<!> constructor(<!UNUSED_PARAMETER!>x<!>: Int)
|
||||
}
|
||||
|
||||
class C <!INAPPLICABLE_ANNOTATION!>native constructor()<!>
|
||||
class C <!WRONG_ANNOTATION_TARGET!>native<!> constructor()
|
||||
Reference in New Issue
Block a user