diff options
Diffstat (limited to 'src/Model/DocumentationNode.kt')
-rw-r--r-- | src/Model/DocumentationNode.kt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Model/DocumentationNode.kt b/src/Model/DocumentationNode.kt index b4343347..c3b9942d 100644 --- a/src/Model/DocumentationNode.kt +++ b/src/Model/DocumentationNode.kt @@ -114,9 +114,7 @@ public open class DocumentationNode(val name: String, val DocumentationNode.path: List<DocumentationNode> get() { - val parent = owner - if (parent == null) - return listOf(this) + val parent = owner ?: return listOf(this) return parent.path + this } |