v0.8.2 #80

Open
altavir wants to merge 63 commits from dev into master
3 changed files with 2 additions and 6 deletions
Showing only changes of commit f840ffb473 - Show all commits

View File

@ -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) {

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
}