[Ecls-list] SETF expanders and interpreted code
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Thu Jul 15 20:49:36 UTC 2010
On Thu, Jul 15, 2010 at 2:04 AM, Matthew Mondor <mm_lists at pulsar-zone.net>wrote:
> When compiling a file which uses a custom SETF expander, invoking the
> SETF function inside functions compiled at the same time work fine.
> However, at the REPL, or in interpreted code, an error occurs that the
> SETF function doesn't exist.
>
Thanks a lot for your detailed report! I think the reason for all your
problems is that SETF functions are undefined whenever you use DEFSETF,
DEFINE-SETF-EXPANDER and similar macros. After digging a little bit, this is
an unspecified behavior so I removed it. The test suite seems to work just
fine with this change. Could you please verify that your code is ok with
that?
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100715/70c6e567/attachment.html>
More information about the ecl-devel
mailing list