diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-27 16:11:36 +0300 |
---|---|---|
committer | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-27 16:33:10 +0300 |
commit | 87edf7c5778a9e1ac3e17c9046110d69e8d197a6 (patch) | |
tree | 34cc927f19b0cf7149c502e0c04249cc6663c81f /src/Model/DocumentationNode.kt | |
parent | befbe69c3863b1048b585e795ec2f99d5a10390e (diff) | |
download | dokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.tar.gz dokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.tar.bz2 dokka-87edf7c5778a9e1ac3e17c9046110d69e8d197a6.zip |
Eliminate warnings caused by API changes
Diffstat (limited to 'src/Model/DocumentationNode.kt')
-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 2f0638bc..b4343347 100644 --- a/src/Model/DocumentationNode.kt +++ b/src/Model/DocumentationNode.kt @@ -134,6 +134,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) |