[FIR] Fix false negative JVM_STATIC_ON_CONST_OR_JVM_FIELD
... in presence of typealias. #KT-61921
This commit is contained in:
committed by
Space Team
parent
7a65c36bfc
commit
0d279dd652
Vendored
+8
@@ -17,3 +17,11 @@ object B {
|
||||
|
||||
<!JVM_STATIC_ON_CONST_OR_JVM_FIELD!>@JvmStatic @JvmField val x<!> = 1;
|
||||
}
|
||||
|
||||
typealias TAStatic = JvmStatic
|
||||
|
||||
object C {
|
||||
<!JVM_STATIC_ON_CONST_OR_JVM_FIELD!>@TAStatic const val z<!> = 1;
|
||||
|
||||
<!JVM_STATIC_ON_CONST_OR_JVM_FIELD!>@TAStatic @JvmField val x<!> = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user