Move data tests to jvm to avoid random failings on native

This commit is contained in:
Alexander Nozik 2024-04-27 09:47:08 +03:00
parent 28f4beb348
commit f840ffb473
3 changed files with 2 additions and 6 deletions

View File

@ -88,11 +88,6 @@ public fun MetaDescriptor.Companion.forClass(
(property.returnType.classifier as? KClass<*>)?.let {
from(forClass(it))
}
//
// (property.getDelegate(Unit) as? MetaDelegate<*>)?.descriptor?.let {
// from(it)
// flag = true
// }
property.annotations.forEach {
when (it) {

View File

@ -47,6 +47,7 @@ public class MetaDescriptorBuilder @PublishedApi internal constructor() {
): Unit {
when (name.length) {
0 -> error("Can't set descriptor to root")
1 -> {
children[name.first().body] = descriptorBuilder
}