aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Mashkov <sergey.mashkov@jetbrains.com>2015-07-27 16:11:36 +0300
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 12:33:54 +0100
commit69623756c6a28d1ba70edcdfd6e02c686ed502e7 (patch)
treebaa571ff7b419ba7fcc9de3de17943343b6cc9a4
parentf99ec73abd5200d178e6d50df85a1a336b0d2bbe (diff)
downloaddokka-69623756c6a28d1ba70edcdfd6e02c686ed502e7.tar.gz
dokka-69623756c6a28d1ba70edcdfd6e02c686ed502e7.tar.bz2
dokka-69623756c6a28d1ba70edcdfd6e02c686ed502e7.zip
Eliminate warnings caused by API changes
-rw-r--r--src/Model/DocumentationNode.kt1
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)