mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-24 05:21:20 -08:00
fix #409: order of evaluation of values forms
the fix for #330 is unaffected
This commit is contained in:
parent
39000946e3
commit
9227f4e342
1 changed files with 4 additions and 3 deletions
|
|
@ -94,9 +94,10 @@
|
|||
(defun emit-inlined-values (form forms)
|
||||
(let ((args (c1form-arg 0 form)))
|
||||
(prog1 (emit-inline-form (or (pop args) (c1nil))
|
||||
;; the rest of the form in inlined values
|
||||
;; are the rest of the values args
|
||||
args)
|
||||
;; the rest of the values args need to be
|
||||
;; added to the rest forms to execute side
|
||||
;; effects in the correct order
|
||||
(append args forms))
|
||||
(loop with *destination* = 'TRASH
|
||||
for form in args
|
||||
do (c2expr* form)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue