Skip to content

Commit

Permalink
Fix filtering suppresed extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
BarkingBad committed Feb 7, 2022
1 parent 1073ea1 commit 3a4d5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/kotlin/plugability/DokkaContext.kt
Expand Up @@ -124,7 +124,7 @@ private class DokkaContextConfigurationImpl(
}

private fun findNotOverridden(bucket: Set<Extension<*, *, *>>): Extension<*, *, *> {
val filtered = bucket.filter { it !in suppressedExtensions }
val filtered = bucket.filter { it !in suppressedExtensions.filter { it.value.all { it is Suppression.ByExtension } } }
return filtered.singleOrNull()
?: throw IllegalStateException("Conflicting overrides: $filtered")
}
Expand Down

0 comments on commit 3a4d5f3

Please sign in to comment.