From 6d00ac775b77ce373a9a8d39eadeec32b155920a Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Thu, 27 Aug 2020 14:48:54 +0200 Subject: Fix unstable ordering by sorting methods and entries in the searchbar --- core/src/main/kotlin/model/Documentable.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt index 63fad1a5..adc46d2a 100644 --- a/core/src/main/kotlin/model/Documentable.kt +++ b/core/src/main/kotlin/model/Documentable.kt @@ -243,7 +243,7 @@ data class DObject( override val extra: PropertyContainer = PropertyContainer.empty() ) : DClasslike(), WithSupertypes, WithExtraProperties { override val children: List - get() = (functions + properties + classlikes) as List + get() = (functions + properties + classlikes) override fun withNewExtras(newExtras: PropertyContainer) = copy(extra = newExtras) } -- cgit