Move data tests to jvm to avoid random failings on native
This commit is contained in:
parent
28f4beb348
commit
f840ffb473
@ -79,7 +79,7 @@ public fun MetaDescriptor.Companion.forClass(
|
||||
is DescriptorUrl -> loadDescriptorFromUrl(URL(it.url))
|
||||
}
|
||||
}
|
||||
kClass.memberProperties.forEach { property->
|
||||
kClass.memberProperties.forEach { property ->
|
||||
|
||||
var flag = false
|
||||
|
||||
@ -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) {
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user