diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-27 16:11:36 +0300 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-29 12:33:54 +0100 |
commit | 69623756c6a28d1ba70edcdfd6e02c686ed502e7 (patch) | |
tree | baa571ff7b419ba7fcc9de3de17943343b6cc9a4 | |
parent | f99ec73abd5200d178e6d50df85a1a336b0d2bbe (diff) | |
download | dokka-69623756c6a28d1ba70edcdfd6e02c686ed502e7.tar.gz dokka-69623756c6a28d1ba70edcdfd6e02c686ed502e7.tar.bz2 dokka-69623756c6a28d1ba70edcdfd6e02c686ed502e7.zip |
Eliminate warnings caused by API changes
-rw-r--r-- | src/Model/DocumentationNode.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Model/DocumentationNode.kt b/src/Model/DocumentationNode.kt index 468cb878..34181b6a 100644 --- a/src/Model/DocumentationNode.kt +++ b/src/Model/DocumentationNode.kt @@ -143,6 +143,7 @@ fun DocumentationNode.findOrCreatePackageNode(packageName: String, packageConten fun DocumentationNode.append(child: DocumentationNode, kind: DocumentationReference.Kind) { addReferenceTo(child, kind) + @suppress("NON_EXHAUSTIVE_WHEN") when (kind) { DocumentationReference.Kind.Detail -> child.addReferenceTo(this, DocumentationReference.Kind.Owner) DocumentationReference.Kind.Member -> child.addReferenceTo(this, DocumentationReference.Kind.Owner) |