bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16520: 24.3.50; cl-defstruct with :predicate option


From: Stefan Monnier
Subject: bug#16520: 24.3.50; cl-defstruct with :predicate option
Date: Wed, 22 Jan 2014 08:47:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Compiling this code:
>   (require 'cl-lib)
>   (cl-defstruct (foo (:predicate foop)))
>   (defun bar (x) (cl-check-type x foo))

> with with:  emacs -Q -batch -f batch-byte-compile foo.el
> produces this warning:

>   foo.el:8:1:Warning: the function `foo-p' is not known to be defined.

Hmm... indeed, that's bad.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]