aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/main/kotlin/Generation/DocumentationMerger.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Generation/DocumentationMerger.kt b/core/src/main/kotlin/Generation/DocumentationMerger.kt
index a464ead6..45233a50 100644
--- a/core/src/main/kotlin/Generation/DocumentationMerger.kt
+++ b/core/src/main/kotlin/Generation/DocumentationMerger.kt
@@ -83,7 +83,7 @@ class DocumentationMerger(
refs: List<DocumentationReference>
): List<DocumentationReference> {
val membersBySignature: Map<String, List<DocumentationNode>> = refs.map { it.to }
- .groupBy { signatureMap[it]!! }
+ .groupBy { signatureMap[it] ?: error("Unresolved signatures: ${it.kind} ${it.name}") }
val mergedMembers: MutableList<DocumentationReference> = mutableListOf()
for ((signature, members) in membersBySignature) {