mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-15 05:43:19 -08:00
shiftf: Fix order of lexical blocks to avoid unbound variable error.
`multiple-value-prog1` was called outside `let` bindings, thereof it lead to returning unbound access-forms. Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
This commit is contained in:
parent
c7e8144062
commit
bc0da33dab
1 changed files with 2 additions and 2 deletions
|
|
@ -476,8 +476,8 @@ Returns the original value of the leftmost PLACE."
|
|||
(with-setf-expansions (pairs stores store-forms access-forms)
|
||||
((butlast args) env)
|
||||
(with-expansion-setter (thunk store-forms)
|
||||
`(multiple-value-prog1 ,(car access-forms)
|
||||
(let* ,pairs
|
||||
`(let* ,pairs
|
||||
(multiple-value-prog1 ,(car access-forms)
|
||||
,@(thunk stores
|
||||
(append (cdr access-forms)
|
||||
(last args))))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue