Move data tests to jvm to avoid random failings on native
This commit is contained in:
parent
28f4beb348
commit
f840ffb473
@ -88,11 +88,6 @@ public fun MetaDescriptor.Companion.forClass(
|
|||||||
(property.returnType.classifier as? KClass<*>)?.let {
|
(property.returnType.classifier as? KClass<*>)?.let {
|
||||||
from(forClass(it))
|
from(forClass(it))
|
||||||
}
|
}
|
||||||
//
|
|
||||||
// (property.getDelegate(Unit) as? MetaDelegate<*>)?.descriptor?.let {
|
|
||||||
// from(it)
|
|
||||||
// flag = true
|
|
||||||
// }
|
|
||||||
|
|
||||||
property.annotations.forEach {
|
property.annotations.forEach {
|
||||||
when (it) {
|
when (it) {
|
||||||
|
@ -47,6 +47,7 @@ public class MetaDescriptorBuilder @PublishedApi internal constructor() {
|
|||||||
): Unit {
|
): Unit {
|
||||||
when (name.length) {
|
when (name.length) {
|
||||||
0 -> error("Can't set descriptor to root")
|
0 -> error("Can't set descriptor to root")
|
||||||
|
|
||||||
1 -> {
|
1 -> {
|
||||||
children[name.first().body] = descriptorBuilder
|
children[name.first().body] = descriptorBuilder
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user