Ban primitive arrays in JVM codegen too (fixes kotlinx.serialization/260)
This commit is contained in:
+1
@@ -355,6 +355,7 @@ fun AbstractSerialGenerator.getSerialTypeInfo(property: SerializableProperty, ty
|
|||||||
// reference elements
|
// reference elements
|
||||||
serializer = property.module.findClassAcrossModuleDependencies(referenceArraySerializerId)
|
serializer = property.module.findClassAcrossModuleDependencies(referenceArraySerializerId)
|
||||||
}
|
}
|
||||||
|
else -> TODO("primitive arrays are not supported yet")
|
||||||
// primitive elements are not supported yet
|
// primitive elements are not supported yet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user