diff options
Diffstat (limited to 'src/Kotlin/DocumentationBuildingVisitor.kt')
-rw-r--r-- | src/Kotlin/DocumentationBuildingVisitor.kt | 3 |
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 } |