format-related warning

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

-- 
Resistance is futile. You will be jazzimilated.

Scientific site:   http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
_______________________________________________
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.