[Top][All Lists]

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

Re: compiler warnings for "unused" method specializers

From: Stefan Monnier
Subject: Re: compiler warnings for "unused" method specializers
Date: Thu, 13 Oct 2016 20:43:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> My other instinct was to just put "_" for all unused parameters, but if
> there's more than one of those, the compiler complains about repeated
> variables.

It'd be nice to change the byte-compiler so it doesn't complain about
repeated variables for _.

> For what it's worth, Lispworks does not complain about unused eql
> parameters in defmethods.  It would make sense if Emacs didn't, either.

Indeed for eql specializers, it could make sense to silence the
byte-compiler warnings, but at the same time, I'm not sure it's worth
the trouble to handle this case specially.


reply via email to

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