Fix JvmStatic applicability diagnostics test after COMPANION_OBJECT became distinct KotlinTarget
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import kotlin.jvm.JvmStatic
|
|||||||
|
|
||||||
<error descr="[WRONG_ANNOTATION_TARGET] This annotation is not applicable to target 'class'">@JvmStatic</error>
|
<error descr="[WRONG_ANNOTATION_TARGET] This annotation is not applicable to target 'class'">@JvmStatic</error>
|
||||||
class A {
|
class A {
|
||||||
<error descr="[WRONG_ANNOTATION_TARGET] This annotation is not applicable to target 'object'">@JvmStatic</error>
|
<error descr="[WRONG_ANNOTATION_TARGET] This annotation is not applicable to target 'companion object'">@JvmStatic</error>
|
||||||
companion object {
|
companion object {
|
||||||
@JvmStatic fun a1() {
|
@JvmStatic fun a1() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user