JVM IR: fix IOOBE from remapTypeParameters for synthetic property annotations method
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Simple(val value: String)
|
||||
|
||||
interface A<T>
|
||||
|
||||
@Simple("OK")
|
||||
public val <T> A<T>.p: String
|
||||
get() = TODO()
|
||||
|
||||
fun box(): String {
|
||||
val o = object : A<Int> {}
|
||||
return (o::p.annotations.single() as Simple).value
|
||||
}
|
||||
Reference in New Issue
Block a user