[Parcelize] Add test for KT-47074

This commit is contained in:
Dmitriy Novozhilov
2023-01-23 17:29:24 +02:00
committed by Space Team
parent 37007a28ac
commit 36bb418049
5 changed files with 41 additions and 1 deletions
@@ -0,0 +1 @@
java.lang.IllegalStateException: Should not be called!
@@ -0,0 +1,23 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// FIR_IDENTICAL
// WITH_STDLIB
// ISSUE: KT-47074
package work.hard.parcelableissue
import kotlinx.parcelize.Parcelize
import android.os.Parcelable
import work.hard.parcelableissue.WorkStore.*
interface Store<K, T, V>
interface WorkStore : Store<Intent, State, Label> {
@kotlinx.parcelize.Parcelize
data class State(
val isLoading: Boolean,
) : Parcelable
sealed class Intent
sealed class Label
}