Re: format-related warning

Raymond Toy <[email protected]>
Newsgroups gmane.lisp.cmucl.devel
Message-ID <[email protected]>
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

_______________________________________________
cmucl-imp mailing list
[email protected]
http://lists.zs64.net/mailman/listinfo/cmucl-imp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.