From ae20a8d1807ecd69cac36342adb4729ebe824126 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 19 Jun 2020 13:22:29 +0800 Subject: [PATCH] Fix typo --- .../main/kotlin/net/mamoe/mirai/console/setting/Value.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/Value.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/Value.kt index cdedff4b1..895d18754 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/Value.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/Value.kt @@ -3,11 +3,7 @@ package net.mamoe.mirai.console.setting import kotlinx.serialization.KSerializer -import net.mamoe.mirai.console.setting.internal.cast -import net.mamoe.mirai.console.setting.internal.valueFromKTypeImpl import net.mamoe.mirai.utils.MiraiExperimentalAPI -import kotlin.internal.LowPriorityInOverloadResolution -import kotlin.reflect.typeOf /** * Represents a observable, immutable value wrapping. @@ -31,7 +27,7 @@ typealias ValueSerializer = KSerializer> /** * Represents a observable *primitive* value wrapping. * - * 8 types that are considered *primitive*: + * 9 types that are considered *primitive*: * - Integers: [Byte], [Short], [Int], [Long] * - Floating: [Float], [Double] * - [Boolean] @@ -42,8 +38,6 @@ typealias ValueSerializer = KSerializer> */ interface PrimitiveValue : Value -interface MutablePrimitiveValue : Value - //// region PrimitiveValue CODEGEN START ////