Skip to content
  • Marius Gerbershagen's avatar
    cmp: fix evaluation order of multiple-value-setq with symbol-macrolet · b1ea49e1
    Marius Gerbershagen authored
    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.
    b1ea49e1