diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-11 19:43:00 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-11 19:43:00 +0400 |
commit | ea6da1423c3711a44952e4fc87967ac3a9e9da3e (patch) | |
tree | 0434c707faf3cd3546008f8dc710ed203726d5d2 /src | |
parent | 451b678c6bdff8b8242f299c600d100929a5171f (diff) | |
download | dokka-ea6da1423c3711a44952e4fc87967ac3a9e9da3e.tar.gz dokka-ea6da1423c3711a44952e4fc87967ac3a9e9da3e.tar.bz2 dokka-ea6da1423c3711a44952e4fc87967ac3a9e9da3e.zip |
Update test to relevant data and fix retrieval of real (not synthetic) members.
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 } |