Ban primitive arrays in JVM codegen too (fixes kotlinx.serialization/260)

This commit is contained in:
Leonid Startsev
2019-02-01 12:32:12 +03:00
parent 5231ef9966
commit 1e440efc01
@@ -355,6 +355,7 @@ fun AbstractSerialGenerator.getSerialTypeInfo(property: SerializableProperty, ty
// reference elements
serializer = property.module.findClassAcrossModuleDependencies(referenceArraySerializerId)
}
else -> TODO("primitive arrays are not supported yet")
// primitive elements are not supported yet
}
}