FIR: report WRONG_ANNOTATION_TARGET(_WITH_USE_SITE_TARGET) on declarations
This commit is contained in:
-8
@@ -1,8 +0,0 @@
|
||||
class A {
|
||||
@JvmStatic constructor() {}
|
||||
inner class B {
|
||||
@JvmStatic constructor() {}
|
||||
}
|
||||
}
|
||||
|
||||
class C @JvmStatic constructor()
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class A {
|
||||
<!WRONG_ANNOTATION_TARGET!>@JvmStatic<!> constructor() {}
|
||||
inner class B {
|
||||
|
||||
Reference in New Issue
Block a user