aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/model/extraModifiers.kt
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-05-06 11:09:42 +0200
committerGitHub <noreply@github.com>2021-05-06 11:09:42 +0200
commit76c26f3325ebe0c06779fca09bbef0eefac5aa5a (patch)
tree2b39bcd386c90fe6311224acd0c3c765974dacb7 /core/src/main/kotlin/model/extraModifiers.kt
parent326048cd6ed3334a84e489dac8c692bc184709c0 (diff)
downloaddokka-76c26f3325ebe0c06779fca09bbef0eefac5aa5a.tar.gz
dokka-76c26f3325ebe0c06779fca09bbef0eefac5aa5a.tar.bz2
dokka-76c26f3325ebe0c06779fca09bbef0eefac5aa5a.zip
Bump compiler to 1.5.0 (#1856)
* Bump compiler to 1.5.0 * Include Api changes
Diffstat (limited to 'core/src/main/kotlin/model/extraModifiers.kt')
-rw-r--r--core/src/main/kotlin/model/extraModifiers.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/kotlin/model/extraModifiers.kt b/core/src/main/kotlin/model/extraModifiers.kt
index efaa3d60..d52408d1 100644
--- a/core/src/main/kotlin/model/extraModifiers.kt
+++ b/core/src/main/kotlin/model/extraModifiers.kt
@@ -4,6 +4,7 @@ sealed class ExtraModifiers(val name: String) {
sealed class KotlinOnlyModifiers(name: String) : ExtraModifiers(name) {
object Inline : KotlinOnlyModifiers("inline")
+ object Value : KotlinOnlyModifiers("value")
object Infix : KotlinOnlyModifiers("infix")
object External : KotlinOnlyModifiers("external")
object Suspend : KotlinOnlyModifiers("suspend")
@@ -34,6 +35,7 @@ sealed class ExtraModifiers(val name: String) {
companion object {
fun valueOf(str: String) = when (str) {
"inline" -> KotlinOnlyModifiers.Inline
+ "value" -> KotlinOnlyModifiers.Value
"infix" -> KotlinOnlyModifiers.Infix
"external" -> KotlinOnlyModifiers.External
"suspend" -> KotlinOnlyModifiers.Suspend