aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/Formats/StructuredFormatService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Formats/StructuredFormatService.kt b/core/src/main/kotlin/Formats/StructuredFormatService.kt
index 82359454..264a176d 100644
--- a/core/src/main/kotlin/Formats/StructuredFormatService.kt
+++ b/core/src/main/kotlin/Formats/StructuredFormatService.kt
@@ -964,7 +964,7 @@ fun effectivePlatformsForMembers(nodes: Collection<DocumentationNode>): Platform
}
fun mergeVersions(kotlinVersions: List<String>): String {
- return kotlinVersions.distinct().min()!!
+ return kotlinVersions.distinct().min().orEmpty()
}
fun effectiveSinceKotlinForNode(node: DocumentationNode, baseVersion: String = "1.0"): String {