FILE: serializerInLocalClass.kt
    public final fun local(): R|kotlin/String| {
        @R|kotlinx/serialization/Serializable|() local final data class Carrier : R|kotlin/Any| {
            public constructor(i: R|kotlin/Int|): R|<local>/Carrier| {
                super<R|kotlin/Any|>()
            }

            public final val i: R|kotlin/Int| = R|<local>/i|
                public get(): R|kotlin/Int|

            public final operator fun component1(): R|kotlin/Int|

            public final fun copy(i: R|kotlin/Int| = this@R|<local>/Carrier|.R|<local>/i|): R|<local>/Carrier|

            public final companion object Companion : R|kotlin/Any| {
                public final fun serializer(): R|kotlinx/serialization/KSerializer<<local>/Carrier>|

                private constructor(): R|<local>/Carrier.Companion| {
                    super<R|kotlin/Any|>()
                }

            }

            @R|kotlin/Deprecated|(message = String(This synthesized declaration should not be used directly), level = Q|kotlin/DeprecationLevel|.R|kotlin/DeprecationLevel.HIDDEN|) public final object $serializer : R|kotlinx/serialization/internal/GeneratedSerializer<<local>/Carrier>| {
                public final override fun serialize(encoder: R|kotlinx/serialization/encoding/Encoder|, value: R|<local>/Carrier|): R|kotlin/Unit|

                public final override fun deserialize(decoder: R|kotlinx/serialization/encoding/Decoder|): R|<local>/Carrier|

                public final val descriptor: R|kotlinx/serialization/descriptors/SerialDescriptor|
                    public get(): R|kotlinx/serialization/descriptors/SerialDescriptor|

                public final override fun childSerializers(): R|kotlin/Array<kotlinx/serialization/KSerializer<*>>|

                private constructor(): R|<local>/Carrier.$serializer| {
                    super<R|kotlin/Any|>()
                }

            }

        }

        ^local Q|<local>/Carrier|.R|<local>/Carrier.Companion.serializer|().R|SubstitutionOverride<kotlinx/serialization/KSerializer.descriptor: R|kotlinx/serialization/descriptors/SerialDescriptor|>|.R|kotlin/Any.toString|()
    }
    public final fun box(): R|kotlin/String| {
        lval expected: R|kotlin/String| = String(local.Carrier(i: kotlin.Int))
        lval actual: R|kotlin/String| = R|/local|()
        when () {
            !=(R|<local>/expected|, R|<local>/actual|) ->  {
                ^box <strcat>(String(Fail: ), R|<local>/actual|)
            }
        }

        ^box String(OK)
    }
