On Tue, 5 Sep 2006 17:37:44 +0000 (UTC), Juho Snellman jsnell@iki.fi wrote:
Just muffle the warning by adding the following declaration at the start of the function:
#+sbcl (declare (sb-ext:muffle-conditions warning))
Thanks. I've added that and made a new release.
Ensure that the compiler also knows that it really can't happen by replacing:
(when (string= name parameter-name) (parse-integer index-string))
With:
(when (and (string= name parameter-name) index-string) (parse-integer index-string))
Adding something to otherwise correct code just to appease the compiler feels a bit like static typing to me - I'd rather not do that... :)
Yeah, I know, it's only a friendly warning, but at least it stops ASDF compilation.
Thanks, Edi. _______________________________________________ tbnl-announce site list tbnl-announce@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-announce