From 16c84aff273a4bcef88f7e808e8b8eba2e7fd313 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Wed, 19 Feb 2020 12:02:17 +0100 Subject: Remove unnecessary cast --- core/src/main/kotlin/parsers/MarkdownParser.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src') diff --git a/core/src/main/kotlin/parsers/MarkdownParser.kt b/core/src/main/kotlin/parsers/MarkdownParser.kt index 74569bd7..6afcbee6 100644 --- a/core/src/main/kotlin/parsers/MarkdownParser.kt +++ b/core/src/main/kotlin/parsers/MarkdownParser.kt @@ -309,7 +309,7 @@ class MarkdownParser ( DocumentationNode(emptyList()) else DocumentationNode( - (listOf(kDocTag) + getAllKDocTags(findParent(kDocTag) as KDocImpl)).map { + (listOf(kDocTag) + getAllKDocTags(findParent(kDocTag))).map { when (it.knownTag) { null -> if (it.name == null) Description(parseStringToDocNode(it.getContent())) else CustomWrapperTag( parseStringToDocNode(it.getContent()), -- cgit