aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-04-15 14:21:53 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-04-23 13:30:00 +0200
commitf55620e397aa4db4c208996d1662f610cad58db5 (patch)
treedfa6f33348e53e4e29553196386d438ffe604cae /core/src/main
parentdf980fe67ba49b959163ae96c54711550368d153 (diff)
downloaddokka-f55620e397aa4db4c208996d1662f610cad58db5.tar.gz
dokka-f55620e397aa4db4c208996d1662f610cad58db5.tar.bz2
dokka-f55620e397aa4db4c208996d1662f610cad58db5.zip
Fix inheritors transformer
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/kotlin/model/Documentable.kt2
-rw-r--r--core/src/main/kotlin/pages/ContentNodes.kt4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt
index f3eb6b9a..38b9ee71 100644
--- a/core/src/main/kotlin/model/Documentable.kt
+++ b/core/src/main/kotlin/model/Documentable.kt
@@ -119,7 +119,7 @@ interface Callable : WithVisibility, WithType, WithAbstraction, WithExpectActual
val receiver: DParameter?
}
-abstract class DClasslike : Documentable(), WithScope, WithVisibility, WithExpectActual
+sealed class DClasslike : Documentable(), WithScope, WithVisibility, WithExpectActual
data class DModule(
override val name: String,
diff --git a/core/src/main/kotlin/pages/ContentNodes.kt b/core/src/main/kotlin/pages/ContentNodes.kt
index 4e77d663..cfcd4069 100644
--- a/core/src/main/kotlin/pages/ContentNodes.kt
+++ b/core/src/main/kotlin/pages/ContentNodes.kt
@@ -171,11 +171,11 @@ interface Kind
enum class ContentKind : Kind {
Comment, Constructors, Functions, Parameters, Properties, Classlikes, Packages, Symbol, Sample, Main, BriefComment,
- Empty, Source, TypeAliases, Cover, Subtypes;
+ Empty, Source, TypeAliases, Cover, Inheritors;
companion object {
private val platformTagged =
- setOf(Constructors, Functions, Properties, Classlikes, Packages, Source, TypeAliases)
+ setOf(Constructors, Functions, Properties, Classlikes, Packages, Source, TypeAliases, Inheritors)
fun shouldBePlatformTagged(kind: Kind): Boolean = kind in platformTagged
}