Deserialize void

This commit is contained in:
Joshua Suskalo 2021-09-16 15:07:31 -05:00
parent 2d60e27e07
commit b1311429be

View file

@ -399,10 +399,12 @@
primitive representation. For types which do not, this deserializes out of primitive representation. For types which do not, this deserializes out of
a segment." a segment."
[obj type] [obj type]
((if (primitive-type type) (when-not (identical? ::void type)
deserialize* ((if (primitive-type type)
deserialize-from) deserialize*
obj type)) deserialize-from)
obj type)))
(defn load-system-library (defn load-system-library
"Loads the library named `libname` from the system's load path." "Loads the library named `libname` from the system's load path."