diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-08-27 14:48:54 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-28 16:34:23 +0200 |
commit | 6d00ac775b77ce373a9a8d39eadeec32b155920a (patch) | |
tree | 3b4b48746f7ec127786fcea40fff52a254d3b6d7 /core | |
parent | 9fe95458fff1abf711884abc3ec2f6da1b802a2b (diff) | |
download | dokka-6d00ac775b77ce373a9a8d39eadeec32b155920a.tar.gz dokka-6d00ac775b77ce373a9a8d39eadeec32b155920a.tar.bz2 dokka-6d00ac775b77ce373a9a8d39eadeec32b155920a.zip |
Fix unstable ordering by sorting methods and entries in the searchbar
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/kotlin/model/Documentable.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<DObject> = PropertyContainer.empty() ) : DClasslike(), WithSupertypes, WithExtraProperties<DObject> { override val children: List<Documentable> - get() = (functions + properties + classlikes) as List<Documentable> + get() = (functions + properties + classlikes) override fun withNewExtras(newExtras: PropertyContainer<DObject>) = copy(extra = newExtras) } |