[closer-devel] New warning "No generic function F present when encountering macroexpansion of defmethod."

Leslie P. Polzer sky at viridian-project.de
Wed Nov 4 11:59:00 UTC 2009


Pascal Costanza wrote:

> Is there a portable way to emit compiler notes? I don't immediately
> find anything in the HyperSpec.

There doesn't seem to be, unfortunately.


> Another option is to emit the warning only when some global flag
> (*warn-on-defmethod-without-defgeneric*, or so) is true. Would that be
> acceptable? It should then be fine to use nil as the default.
>
> The warning is important, IMHO, when you define your own generic
> function metaclasses...

I concur. Your global switch proposal would also be perfectly
acceptable at least to me.

  Leslie

-- 
http://www.linkedin.com/in/polzer





More information about the closer-devel mailing list