mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
Previously, the ParcelableDeclarationChecker was only enabled as part of the view extensions. In particular, the checker was not enabled for the parcelize test suite.
11 lines
244 B
Kotlin
Vendored
11 lines
244 B
Kotlin
Vendored
// CURIOUS_ABOUT writeToParcel, createFromParcel, <clinit>, describeContents
|
|
// WITH_RUNTIME
|
|
|
|
import kotlinx.android.parcel.*
|
|
import android.os.Parcelable
|
|
|
|
class Value(val x: Int)
|
|
|
|
@Parcelize
|
|
class Test(val value: @RawValue Value) : Parcelable
|