Fix bug where compound types in arglist metadata failed

This commit is contained in:
Joshua Suskalo 2021-10-06 08:53:02 -05:00
parent 96f3153c5f
commit 014901233c
2 changed files with 6 additions and 1 deletions

View file

@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. This change
- An `address?` predicate
### Fixed
- Compound types caused problems in arglists meta on expansion of `defcfn`
- Compound types were not allowed as return types in `defcfn`
- `nil` was not considered a null pointer
- Primitive-serializing types fail to compile as arguments to downcall handles

View file

@ -582,7 +582,11 @@
(or old-list
(seq arglists)
(list
(mapv (comp symbol name)
(mapv (fn [type]
(-> (cond-> type
(vector? type) first)
name
symbol))
(:native-arglist args)))))))
(assoc (:attr-map args)
::address address)))