Make arrays deserialize to vectors
This commit is contained in:
parent
d3d298d87d
commit
275c6ec6ab
2 changed files with 4 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This change
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- Arrays deserialized to non-vector sequences
|
||||||
- Non-primitive argument types fail to link
|
- Non-primitive argument types fail to link
|
||||||
|
|
||||||
## [0.1.205] - 2021-10-06
|
## [0.1.205] - 2021-10-06
|
||||||
|
|
|
||||||
|
|
@ -643,7 +643,7 @@
|
||||||
|
|
||||||
(defmethod deserialize-from ::array
|
(defmethod deserialize-from ::array
|
||||||
[segment [_array type count]]
|
[segment [_array type count]]
|
||||||
(map #(deserialize-from % type)
|
(mapv #(deserialize-from % type)
|
||||||
(slice-segments (slice segment 0 (* count (size-of type)))
|
(slice-segments (slice segment 0 (* count (size-of type)))
|
||||||
(size-of type))))
|
(size-of type))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue