Files
kotlin-fork/plugins/parcelize/parcelize-ide/testData/checker/delegate.kt
T

14 lines
391 B
Kotlin
Vendored

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 <error descr="[PARCELABLE_DELEGATE_IS_NOT_ALLOWED] Delegating 'Parcelable' is not allowed">by</error> Delegate()