Split property use-site targets during FIR building
This commit is contained in:
committed by
teamcityserver
parent
2a9a1dbb86
commit
7243d30869
-13
@@ -1,13 +0,0 @@
|
||||
interface Test {
|
||||
<!JVM_STATIC_NOT_IN_OBJECT_OR_COMPANION!>@get:JvmStatic
|
||||
val a: Int<!>
|
||||
|
||||
@get:JvmName("1")
|
||||
val b: Int
|
||||
|
||||
@get:Synchronized
|
||||
val c: Int
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@get:JvmOverloads<!>
|
||||
val d: Int
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
interface Test {
|
||||
<!JVM_STATIC_NOT_IN_OBJECT_OR_COMPANION!>@get:JvmStatic
|
||||
val a: Int<!>
|
||||
|
||||
Vendored
+2
-2
@@ -89,7 +89,7 @@ class D: AB() {
|
||||
}
|
||||
|
||||
interface Intf {
|
||||
@get:JvmName("getBar") // no error in IDE
|
||||
@set:JvmName("setBar") // no error in IDE
|
||||
<!INAPPLICABLE_JVM_NAME!>@get:JvmName("getBar")<!> // no error in IDE
|
||||
<!INAPPLICABLE_JVM_NAME!>@set:JvmName("setBar")<!> // no error in IDE
|
||||
var foo: Int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user