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

Tobias C. Rittweiler tcr at freebits.de
Wed Nov 4 12:57:00 UTC 2009


Pascal Costanza <pc at p-cos.net> writes:

> On 4 Nov 2009, at 11:33, Leslie P. Polzer wrote:
>
> > This newly introduced warning seems to be emitted every time
> > when there's a defmethod that is not preceded by a defgeneric.
> >
> > But this is perfectly valid code and c2mop must[1] assume
> > that the implicit gf is of class standard-generic-function
> > without emitting a warning (which causes ASDF to stop everytime
> > it is encountered).
> >
> > How about a compiler note instead?
>
> Is there a portable way to emit compiler notes? I don't immediately  
> find anything in the HyperSpec.

Signal a STYLE-WARNING, it's what it's for.

  -T.





More information about the closer-devel mailing list