On Mon, Jan 17, 2005 at 07:47:35PM +0000, Christophe Rhodes wrote:
> [ delayed response... ]
>
> Eric Blossom <eb@...> writes:
>
> > It appears that compile-file is incorrectly returning a value of T for
> > error-p even though the output diagnostics indicate that the
> > compilation produced only a warning. [I'd also like to know how to
> > get rid of the warning...]
>
> The correct value for errorp given a full warning /is/ T, I'm afraid.
>
Thanks.
> I'm not intimately familiar with cl-ppcre, but what I think is
> happening is that register-groups-bind is binding CH to something like
> (if match (something with match) nil), and SBCL is warning you about
> the failure branch, which will cause a type mismatch if it's ever
> executed. To quieten the system, probably a (check-type ch string) in
> the body will work.
>
> Cheers,
>
> Christophe
Thanks for the clarification and suggestions.
Eric
|