JVM_IR: Remove buggy special case accessor code from JvmStaticAnnotationLowering
General purpose accessors in SyntheticAnnotationLowering are sufficient.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// FILE: tt.kt
|
||||
package tt
|
||||
|
||||
class CA {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@JvmName("uhoh")
|
||||
internal fun f(): String = "OK"
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: qq.kt
|
||||
|
||||
package qq
|
||||
import tt.CA
|
||||
|
||||
fun box() = CA.f()
|
||||
Reference in New Issue
Block a user