Add type declaration to reduce ambiguity

This commit is contained in:
HiPhish 2022-10-01 15:53:31 +02:00
parent f4d8550877
commit ab7cb68963

View file

@ -70,6 +70,7 @@
(node (plump:make-element
parent (normalize tag)
:children (plump:make-child-array (length tail)))))
(declare (type list tail))
(set-attributes node attributes)
;; Children will be automatically added to NODE as a side effect
(loop for child in tail when child do (sexp->plump-tree child node))