Remove special case of generation for numeric and toPrimitiveArrays.
This commit is contained in:
@@ -64,7 +64,7 @@ fun toPrimitiveArrays(): List<GenericFunction> =
|
||||
val arrayType = primitive.name + "Array"
|
||||
f("to$arrayType()") {
|
||||
only(ArraysOfObjects, Collections)
|
||||
only(primitive)
|
||||
buildFamilies.forEach { family -> onlyPrimitives(family, primitive) }
|
||||
doc(ArraysOfObjects) { "Returns an array of ${primitive.name} containing all of the elements of this generic array." }
|
||||
doc(Collections) { "Returns an array of ${primitive.name} containing all of the elements of this collection." }
|
||||
returns(arrayType)
|
||||
|
||||
Reference in New Issue
Block a user