[cmucl-imp] format-related warning
Raymond Toy
toy.raymond at gmail.com
Thu Nov 11 21:04:29 CET 2010
On 11/11/10 1:07 PM, Didier Verna wrote:
> Hello,
>
> I just discovered a small bug in a format string of mine thanks to CCL.
> It is illustrated below: the ~:; control sequence is meaningless in this
> context.
>
> (defun test ()
> (format t "~:[[~A]~:;~A~]" t "foo")
> (format t "~:[[~A]~:;~A~]" nil "bar")
> (values))
>
> This function still works correctly, but perhaps a warning would be nice
> to have, as CCL does.
Yes, a warning would be nice. I'll add a warning in the next snapshot.
Thanks for the report and test case,
Ray
More information about the cmucl-imp
mailing list