diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/DocumentationBuildingVisitor.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DocumentationBuildingVisitor.kt b/src/DocumentationBuildingVisitor.kt index 4289a7f7..f6a3156a 100644 --- a/src/DocumentationBuildingVisitor.kt +++ b/src/DocumentationBuildingVisitor.kt @@ -67,7 +67,10 @@ class DocumentationBuildingVisitor(private val worker: DeclarationDescriptorVisi visitChildren(descriptor.getConstructors(), node) visitChildren(descriptor.getTypeConstructor().getParameters(), node) visitChildren(descriptor.getClassObjectDescriptor(), node) - visitChildren(descriptor.getDefaultType().getMemberScope().getOwnDeclaredDescriptors(), node) + val members = descriptor.getDefaultType().getMemberScope().getAllDescriptors().filter { + it !is CallableMemberDescriptor || it.getKind().isReal() + } + visitChildren(members, node) return node } |