[closer-devel] [PATCH] make defpackage form fully describe package's state

Tobias C. Rittweiler tcr at freebits.de
Tue Sep 15 16:06:03 UTC 2009


CLHS specifies that consequences are undefined if a defpackage form (on
evaluation) does not fully describe the package's state. And, indeed,
SBCL signals a warning in that case.

That means that (progn (asdf:oos 'asdf:load-op :closer-mop :force t)
                       (asdf:oos 'asdf:load-op :closer-mop :force t))
will fail on SBCL.

The attached patch makes the effort to generate a DEFPACKAGE form which
correctly describes the final state of the package it defines.

  -T.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: closer-mop-defpackage-fix.diff
Type: text/x-diff
Size: 1565 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/closer-devel/attachments/20090915/7de3f72c/attachment.diff>


More information about the closer-devel mailing list