diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-08-27 10:23:08 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-27 17:35:04 +0200 |
commit | 1cefaa46345cd13a36e12060118b1ab5f2936502 (patch) | |
tree | 5980cc4dd1bdc1db434e5f0a897a86406af38458 /core/src/main/kotlin/model/Documentable.kt | |
parent | 17f3fea789abe3d6fb03eec361ebac5d78a2f9fd (diff) | |
download | dokka-1cefaa46345cd13a36e12060118b1ab5f2936502.tar.gz dokka-1cefaa46345cd13a36e12060118b1ab5f2936502.tar.bz2 dokka-1cefaa46345cd13a36e12060118b1ab5f2936502.zip |
Apply requested changes
Diffstat (limited to 'core/src/main/kotlin/model/Documentable.kt')
-rw-r--r-- | core/src/main/kotlin/model/Documentable.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt index 2ea4a328..63fad1a5 100644 --- a/core/src/main/kotlin/model/Documentable.kt +++ b/core/src/main/kotlin/model/Documentable.kt @@ -389,7 +389,7 @@ enum class FunctionModifiers { NONE, FUNCTION, EXTENSION } -fun Variance<TypeParameter>.withNewDri(dri: DRI) = when(this) { +fun Variance<TypeParameter>.withDri(dri: DRI) = when(this) { is Contravariance -> Contravariance(TypeParameter(dri, inner.name)) is Covariance -> Covariance(TypeParameter(dri, inner.name)) is Invariance -> Invariance(TypeParameter(dri, inner.name)) |