From e93440bd4a520ab81203e8b0105ac43323f67e6b Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Fri, 3 Oct 2014 21:29:56 +0400 Subject: Constructors, variance, links and styles. --- src/Kotlin/DocumentationBuildingVisitor.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Kotlin/DocumentationBuildingVisitor.kt') 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 } -- cgit