Parcelize: Support unsigned array types
See https://issuetracker.google.com/200774823
This commit is contained in:
committed by
Alexander Udalov
parent
2501013012
commit
cb46a56815
+18
@@ -0,0 +1,18 @@
|
||||
// CURIOUS_ABOUT writeToParcel, createFromParcel
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
import kotlinx.parcelize.*
|
||||
import android.os.Parcelable
|
||||
|
||||
@Parcelize
|
||||
data class Test(
|
||||
val a: UByteArray,
|
||||
val b: UShortArray,
|
||||
val c: UIntArray,
|
||||
val d: ULongArray,
|
||||
val e: UByteArray?,
|
||||
val f: UShortArray?,
|
||||
val g: UIntArray?,
|
||||
val h: ULongArray?,
|
||||
) : Parcelable
|
||||
Reference in New Issue
Block a user