diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-01-11 22:22:36 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-01-12 17:33:13 +0300 |
commit | 9e65c3d7a88f5575b257412f39d1d3a03fc42834 (patch) | |
tree | 9e139227a592209763b8641f08c15a653c7565da /core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt | |
parent | dc26fa9948a09c18473f9b6285158a69a32fc284 (diff) | |
download | dokka-9e65c3d7a88f5575b257412f39d1d3a03fc42834.tar.gz |
Support deep inheritance with external classes
Diffstat (limited to 'core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt')
-rw-r--r-- | core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt b/core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt index 0c95a415b..1116c6c59 100644 --- a/core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt +++ b/core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt @@ -245,7 +245,7 @@ open class JavaLayoutHtmlFormatOutputBuilder( open fun FlowContent.classHierarchy(node: DocumentationNode) { - val superclasses = generateSequence(node.superclass) { it.links.single().superclass }.toList().asReversed() + node + val superclasses = (sequenceOf(node) + node.superclassTypeSequence).toList().asReversed() table { superclasses.forEach { tr { |