mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +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.
12 lines
247 B
Kotlin
Vendored
12 lines
247 B
Kotlin
Vendored
// CURIOUS_ABOUT writeToParcel
|
|
// WITH_RUNTIME
|
|
|
|
import android.util.Size
|
|
import kotlinx.android.parcel.*
|
|
import android.os.Parcelable
|
|
|
|
@Parcelize
|
|
class TestNullable(val a: Size?) : Parcelable
|
|
|
|
@Parcelize
|
|
class TestNotNull(val a: Size) : Parcelable |