[Parcelize] Ignore all sealed classes in Parcelize FIR generator

Sealed classes are inherently abstract and should not have Parcelable
functions added via the FIR declaration generator.

#KT-59112 Fixed
This commit is contained in:
Brian Norman
2023-06-06 13:33:42 -05:00
committed by Space Team
parent 830c78773c
commit b595328192
4 changed files with 10 additions and 5 deletions
@@ -11,6 +11,7 @@ import android.os.Parcelable
sealed class Foo : Parcelable {
data class A(val x: Int) : Foo()
object B : Foo()
sealed class Inner : Foo()
}
data class C(val x: String) : Foo()