8cdddbfd9d
There is one of checks left unimplemented (FirParcelizePropertyChecker.checkParcelableClassProperty) because it requires huge commonization of detecting which type can be serialized and which not, which is not prioritized job for now
15 lines
350 B
Kotlin
Vendored
15 lines
350 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
package test
|
|
|
|
import kotlinx.parcelize.Parcelize
|
|
import android.os.Parcelable
|
|
import android.os.Parcel
|
|
|
|
open class Delegate : Parcelable {
|
|
override fun writeToParcel(dest: Parcel?, flags: Int) {}
|
|
override fun describeContents() = 0
|
|
}
|
|
|
|
@Parcelize
|
|
class Test : Parcelable <!PARCELABLE_DELEGATE_IS_NOT_ALLOWED!>by<!> Delegate()
|