JVM_IR: Remove buggy special case accessor code from JvmStaticAnnotationLowering

General purpose accessors in SyntheticAnnotationLowering are sufficient.
This commit is contained in:
Georgy Bronnikov
2020-02-06 15:39:51 +03:00
parent b451c25dba
commit 182e1c1b3b
6 changed files with 48 additions and 21 deletions
@@ -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()