Files
kotlin-fork/plugins/parcelize/parcelize-compiler/testData/codegen/generics.kt
T
Steven Schäfer a743669bc9 Parcelize: Fix type signatures in parcelable creator objects
These objects are visible from annotation processors and should not
refer to the type parameters of enclosing parcelable classes.
2021-08-27 21:26:46 +02:00

10 lines
212 B
Kotlin
Vendored

// CURIOUS_ABOUT writeToParcel, createFromParcel
// RENDER_ANNOTATIONS
// WITH_RUNTIME
import kotlinx.parcelize.*
import android.os.Parcelable
@Parcelize
data class Box<T : Parcelable>(val box: T) : Parcelable