diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-03-25 13:18:59 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-03-25 13:19:31 +0100 |
commit | 00a75f986e9b1a507b551f990ea8a12a1a470880 (patch) | |
tree | 1eda823115b5a9ee44ed5a8c7ac68d2dacf90032 /core/src | |
parent | ba16f209faaf02e3300f2c04fec6c9e5b9ebc152 (diff) | |
download | dokka-00a75f986e9b1a507b551f990ea8a12a1a470880.tar.gz dokka-00a75f986e9b1a507b551f990ea8a12a1a470880.tar.bz2 dokka-00a75f986e9b1a507b551f990ea8a12a1a470880.zip |
Simplify access for PrimaryConstructorExtra
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/kotlin/model/aditionalExtras.kt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/src/main/kotlin/model/aditionalExtras.kt b/core/src/main/kotlin/model/aditionalExtras.kt index 853edd64..af399745 100644 --- a/core/src/main/kotlin/model/aditionalExtras.kt +++ b/core/src/main/kotlin/model/aditionalExtras.kt @@ -37,8 +37,6 @@ class Annotations(val content: List<Annotation>) : ExtraProperty<Documentable> { } } -object PrimaryConstructorExtra: ExtraProperty<DFunction> { - object PrimaryConstructorExtraKey: ExtraProperty.Key<DFunction, PrimaryConstructorExtra> - - override val key: ExtraProperty.Key<DFunction, *> = PrimaryConstructorExtraKey +object PrimaryConstructorExtra: ExtraProperty<DFunction>, ExtraProperty.Key<DFunction, PrimaryConstructorExtra> { + override val key: ExtraProperty.Key<DFunction, *> = this }
\ No newline at end of file |