From e776ce6e6b0eaccf35bba9889e2ceb25d42750e9 Mon Sep 17 00:00:00 2001 From: Oleg Yukhnevich Date: Thu, 16 Nov 2023 14:13:58 +0200 Subject: [PATCH] Add a note for copy pasted declaration Co-authored-by: Ignat Beresnev --- .../kotlin/org/jetbrains/dokka/base/pages/AllTypesPageNode.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/dokka-subprojects/plugin-base/src/main/kotlin/org/jetbrains/dokka/base/pages/AllTypesPageNode.kt b/dokka-subprojects/plugin-base/src/main/kotlin/org/jetbrains/dokka/base/pages/AllTypesPageNode.kt index 8c46e3b92b..00fd342853 100644 --- a/dokka-subprojects/plugin-base/src/main/kotlin/org/jetbrains/dokka/base/pages/AllTypesPageNode.kt +++ b/dokka-subprojects/plugin-base/src/main/kotlin/org/jetbrains/dokka/base/pages/AllTypesPageNode.kt @@ -41,5 +41,6 @@ internal class AllTypesPageNode( } } +// copy-pasted from dokka-core, not sure why it was needed in the first place private infix fun List.shallowEq(other: List) = this === other || (this.size == other.size && (this zip other).all { (a, b) -> a === b })