aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-06-23 13:37:58 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-06-24 10:47:42 +0200
commitded608b8e0c1fcde7b7e3c5089af49b379b7bab3 (patch)
tree470cd892fbb39667eb22b0ca208aa1ce4aef0629 /core
parentb7c4beec1b6317b1ceaf2520464996e9ee0e93e5 (diff)
downloaddokka-ded608b8e0c1fcde7b7e3c5089af49b379b7bab3.tar.gz
dokka-ded608b8e0c1fcde7b7e3c5089af49b379b7bab3.tar.bz2
dokka-ded608b8e0c1fcde7b7e3c5089af49b379b7bab3.zip
Fix tests
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/model/documentableProperties.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/main/kotlin/model/documentableProperties.kt b/core/src/main/kotlin/model/documentableProperties.kt
index 1a0c6303..2aec199c 100644
--- a/core/src/main/kotlin/model/documentableProperties.kt
+++ b/core/src/main/kotlin/model/documentableProperties.kt
@@ -11,8 +11,7 @@ data class InheritedFunction(val inheritedFrom: SourceSetDependent<DRI?>): Extra
)
}
- val isInherited: Boolean
- get() = inheritedFrom != null
+ fun isInherited(sourceSetDependent: SourceSetData): Boolean = inheritedFrom[sourceSetDependent] != null
override val key: ExtraProperty.Key<DFunction, *> = InheritedFunction
}