diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-06-23 13:37:58 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-06-24 10:47:42 +0200 |
commit | ded608b8e0c1fcde7b7e3c5089af49b379b7bab3 (patch) | |
tree | 470cd892fbb39667eb22b0ca208aa1ce4aef0629 /core/src | |
parent | b7c4beec1b6317b1ceaf2520464996e9ee0e93e5 (diff) | |
download | dokka-ded608b8e0c1fcde7b7e3c5089af49b379b7bab3.tar.gz dokka-ded608b8e0c1fcde7b7e3c5089af49b379b7bab3.tar.bz2 dokka-ded608b8e0c1fcde7b7e3c5089af49b379b7bab3.zip |
Fix tests
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/kotlin/model/documentableProperties.kt | 3 |
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 } |