It appears that the
(check-type request qapi-space-inventory-action) ;; must be both types
just after that declare in the function body is somehow causing the error.
If I remove that check, the function compiles. If I add it back, it causes a
; caught STYLE-WARNING:
; reading an ignored variable: ALL-SEGMENT-REQUESTS
NB: results obtained by using the RETRY restart while I have a
(eval-when (:compile-toplevel :load-toplevel :execute) (error "foo"))
right after the function, to make sure I can error and retry even when it works.
It appears that the inventory- action) ;; must be both types
(check-type request qapi-space-
just after that declare in the function body is somehow causing the error.
If I remove that check, the function compiles. If I add it back, it causes a REQUESTS
; caught STYLE-WARNING:
; reading an ignored variable: ALL-SEGMENT-
NB: results obtained by using the RETRY restart while I have a
(eval-when (:compile-toplevel :load-toplevel :execute) (error "foo"))
right after the function, to make sure I can error and retry even when it works.
Does this information help?