aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/model/aditionalExtras.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/model/aditionalExtras.kt b/core/src/main/kotlin/model/aditionalExtras.kt
index 1023545d..fcf1efa6 100644
--- a/core/src/main/kotlin/model/aditionalExtras.kt
+++ b/core/src/main/kotlin/model/aditionalExtras.kt
@@ -19,10 +19,10 @@ class AdditionalModifiers(val content: Set<ExtraModifiers>) : ExtraProperty<Docu
override val key: ExtraProperty.Key<Documentable, *> = AdditionalModifiers
}
-class Annotations(val content: List<Annotation>) : ExtraProperty<Documentable> {
+class Annotations(val content: SourceSetDependent<List<Annotation>>) : ExtraProperty<Documentable> {
companion object : ExtraProperty.Key<Documentable, Annotations> {
override fun mergeStrategyFor(left: Annotations, right: Annotations): MergeStrategy<Documentable> =
- MergeStrategy.Replace(Annotations((left.content + right.content).distinct()))
+ MergeStrategy.Replace(Annotations(left.content + right.content))
}
override val key: ExtraProperty.Key<Documentable, *> = Annotations