[Openmcl-devel] ASDF Error
R. Matthew Emerson
rme at acm.org
Sat Mar 3 09:56:37 PST 2018
You want to take this bug, Shannon? Or is format.lisp too horrible to contemplate?
> On Mar 3, 2018, at 6:28 PM, Gail Zacharias <gz at clozure.com> wrote:
>
> CCL is wrong. In format-logical-block, the check for non-empty *format-arguments* should only happen in the (not asign) case.
>
> On Sat, Mar 3, 2018 at 12:02 PM, Shannon Spires <svs at bearlanding.com> wrote:
> The following form appears in ccl/tools/asdf.lisp:
>
> (format s (compatfmt "~@<Retry ASDF operation.~@:>”))
>
> In CCL, compatfmt is a no-op so for purposes of testing this reduces to
>
> (format t "~@<Retry ASDF operation.~@:>")
>
> which throws a “Missing Argument” error in CCL. This line of code is especially egregious because if ASDF encounters an error when it’s loading files and the user tries to restart in the CCL IDE, the “Missing Argument” error throws to the AltConsole and recovery is basically impossible, because the error happens in the drawing of the restarts GUI window.
>
> Since I have no idea how the Common Lisp pretty-printer is supposed to work (and I’ve tried to read the documentation several times), I can’t tell if this is an error in ASDF or an error in CCL’s #'format implementation. I have been working around this by modifying compatfmt to get rid of the pretty-printer gobbledygook on CCL (that’s what compatfmt is for, after all), but if this is really a bug in CCL’s implementation we should probably fix it there.
More information about the Openmcl-devel
mailing list