mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 13:01:42 -08:00
fix #330 - Order of evaluation of VALUES forms was incorrect in compiled code
This commit is contained in:
parent
9e944557de
commit
96e5780d91
1 changed files with 5 additions and 1 deletions
|
|
@ -93,7 +93,11 @@
|
|||
|
||||
(defun emit-inlined-values (form forms)
|
||||
(let ((args (c1form-arg 0 form)))
|
||||
(prog1 (emit-inline-form (or (pop args) (c1nil)) forms)
|
||||
(prog1 (emit-inline-form (or (pop args) (c1nil))
|
||||
;; the rest of the form
|
||||
;; in a inlined values
|
||||
;; are the rest of the values args
|
||||
args )
|
||||
(loop with *destination* = 'TRASH
|
||||
for form in args
|
||||
do (c2expr* form)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue