aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/DocumentationBuildingVisitor.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-10-03 21:29:56 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-10-03 21:29:56 +0400
commite93440bd4a520ab81203e8b0105ac43323f67e6b (patch)
tree1217f90bff6c4cd3a30a811b930ffad11e0d7a0f /src/Kotlin/DocumentationBuildingVisitor.kt
parentaedccb96b16c18e0d3a73f36c28ebf5fc0086e1c (diff)
downloaddokka-e93440bd4a520ab81203e8b0105ac43323f67e6b.tar.gz
dokka-e93440bd4a520ab81203e8b0105ac43323f67e6b.tar.bz2
dokka-e93440bd4a520ab81203e8b0105ac43323f67e6b.zip
Constructors, variance, links and styles.
Diffstat (limited to 'src/Kotlin/DocumentationBuildingVisitor.kt')
-rw-r--r--src/Kotlin/DocumentationBuildingVisitor.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Kotlin/DocumentationBuildingVisitor.kt b/src/Kotlin/DocumentationBuildingVisitor.kt
index 754ef8ef..364c4f6c 100644
--- a/src/Kotlin/DocumentationBuildingVisitor.kt
+++ b/src/Kotlin/DocumentationBuildingVisitor.kt
@@ -90,7 +90,8 @@ class DocumentationBuildingVisitor(val context: BindingContext,
}
public override fun visitConstructorDescriptor(descriptor: ConstructorDescriptor?, data: DocumentationNode?): DocumentationNode? {
- val node = visitFunctionDescriptor(descriptor!!, data)
+ val node = createDocumentation(descriptor!!, data!!)
+ visitChildren(descriptor.getValueParameters(), node)
return node
}