Comment 2 for bug 841260

Revision history for this message
Jean-Philippe Paradis (hexstream) wrote :

I didn't go out of my way to change *EVALUATOR-MODE* to :interpret and I verified that it's indeed set to :compile.

As for "EVAL muffling of style-warnings from compiling the toplevel form prior to its execution", I'm not sure exactly what that means, but given that entering (let ((foo nil))) in the REPL produces a "STYLE-WARNING: The variable FOO is defined but never used", I'm positive that entering (flet ((foo ()))) in the REPL ought to produce a "STYLE-WARNING: The function FOO is defined but never used" since these are completely analogous situations in all relevant respects (the only difference being that one binding is happening in the variable namespace while the other happens in the function namespace).

I understand that there might be technical/historical reasons why the behaviors differ, but from a user's perspective, I don't see how the discrepancy might be justified.

(And btw I consider a NOTE to be quite different than a STYLE-WARNING.)