15fa6ea757
Such situation may happen if generic class is customized by user with object-kind serializer. In such case, both arguments from generateSerializerGetter and generateSerializerFactory are objects. See linked issue for details: Fixes https://github.com/Kotlin/kotlinx.serialization/issues/749