Targeting / retention for a set of standard annotations, some inapplicable annotation checks replaced with target check, some fixed tests
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
||||
import kotlin.platform.platformStatic
|
||||
class A {
|
||||
platformStatic <!PLATFORM_STATIC_ILLEGAL_USAGE!>constructor()<!> {}
|
||||
<!WRONG_ANNOTATION_TARGET!>platformStatic<!> constructor() {}
|
||||
inner class B {
|
||||
platformStatic <!PLATFORM_STATIC_ILLEGAL_USAGE!>constructor()<!> {}
|
||||
<!WRONG_ANNOTATION_TARGET!>platformStatic<!> constructor() {}
|
||||
}
|
||||
}
|
||||
|
||||
class C platformStatic <!PLATFORM_STATIC_ILLEGAL_USAGE!>constructor()<!>
|
||||
class C <!WRONG_ANNOTATION_TARGET!>platformStatic<!> constructor()
|
||||
Reference in New Issue
Block a user