emacs-devel
[Top][All Lists]
Advanced

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

Re: Noisy byte compilation on master


From: Stefan Monnier
Subject: Re: Noisy byte compilation on master
Date: Wed, 18 Feb 2015 17:44:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> If you get such warnings at run-time, it's a bug.  They should only
>> appear at byte-compilation time.

> Insert

>   (require 'eieio)
>   (defclass foo () ())
>   (foo "test")

> then do eval-buffer and you'll see

>   Obsolete name arg "test" to constructor foo

That's not a bug.  Because `eval-buffer' is the "byte-compilation time".
For it to count as a bug, you'd have to byte-compile the above code and
get the warning when you run the resulting compiled code.


        Stefan



reply via email to

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