mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 00:30:17 +08:00
Fix Pair and Triple values
This commit is contained in:
parent
cd86878307
commit
179c89b48f
@ -143,7 +143,7 @@ internal fun KClass<*>.isPrimitiveOrBuiltInSerializableValue(): Boolean {
|
|||||||
Byte::class, Short::class, Int::class, Long::class,
|
Byte::class, Short::class, Int::class, Long::class,
|
||||||
Boolean::class,
|
Boolean::class,
|
||||||
Char::class, String::class,
|
Char::class, String::class,
|
||||||
Pair::class, Triple::class // TODO: 2020/6/24 支持 PairValue, TripleValue
|
//Pair::class, Triple::class // TODO: 2020/6/24 支持 PairValue, TripleValue
|
||||||
-> return true
|
-> return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user