cmp: fix evaluation order of multiple-value-setq with symbol-macrolet
If a variable which is set with multiple-value-setq is bound to a symbol-macro, we need to handle the order of side-effects as in setf. Previously, we were first evaluating the value generating form of the multiple-value-setq before setting the places from the symbol-macro. The correct order is to first evaluate the forms from the symbol macro giving the places to set, then evaluate the value generating form from the multiple-value-setq and then set the places to the generated values.
Please register or sign in to comment