Skip to content
  • Marius Gerbershagen's avatar
    define-setf-expander: fix lambda-list handling · 21001237
    Marius Gerbershagen authored
    define-setf-expander takes a macro lambda-list. Previously, we handled
    the &environment part of this list manually, but &body, &whole
    parameters and destructuring did not work.
    
    To fix this, we use sys::expand-defmacro in define-setf-expander. This
    necessitates a change in the arguments of the setf-methods stored by
    do-define-setf-function: we now pass the whole form (including the
    name of the access-function) in the first argument and the environment
    in the second argument, like in an ordinary macro function.
    
    Fixes #627.
    21001237