Revert "Fix issue with StaticVariable failing on pointer-carried types"
This reverts commit c1fa08586a.
This commit is contained in:
parent
c1fa08586a
commit
544cf59280
2 changed files with 1 additions and 6 deletions
|
|
@ -5,9 +5,6 @@ All notable changes to this project will be documented in this file. This change
|
|||
### Added
|
||||
- Support for named union members in c-layout (thanks to @jjttjj)
|
||||
|
||||
### Fixed
|
||||
- Bug where `static-variable` with composite types with pointer primitive type carriers (e.g. c-string) would fail to deserialize
|
||||
|
||||
## [1.0.486] - 2024-10-04
|
||||
### Fixed
|
||||
- Bug where one too many indirections is used when serializing/deserializing pointer types
|
||||
|
|
|
|||
|
|
@ -630,9 +630,7 @@
|
|||
(deftype StaticVariable [seg type meta]
|
||||
IDeref
|
||||
(deref [_]
|
||||
(if (identical? ::mem/pointer (mem/primitive-type type))
|
||||
(mem/deserialize* seg type)
|
||||
(mem/deserialize-from seg type)))
|
||||
(mem/deserialize-from seg type))
|
||||
|
||||
IObj
|
||||
(withMeta [_ meta-map]
|
||||
|
|
|
|||
Loading…
Reference in a new issue