Files
kotlin-fork/compiler/testData/codegen/box/reflection/kt63988.kt
T
vladislav.grechko 54858c2118 [FIR] Fix naming of local classes when serializing metadata
^KT-63655: Fixed
^KT-63901: Fixed
^KT-63988: Fixed
2024-02-07 12:30:50 +00:00

12 lines
242 B
Kotlin
Vendored

// TARGET_BACKEND: JVM_IR
// WITH_REFLECT
import kotlin.reflect.full.memberProperties
class A {
val prop = object {
val nestedProp = object {}
}
}
fun box() = if (A().prop::class.memberProperties.size == 1) "OK" else "Fail"