aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/model/aditionalExtras.kt6
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