Prev: Deserialization question
Next: Why warnings about unused keyword although (call-next-method) is used?
From: Paul Griffioen on 13 Jun 2010 14:24 Why do compilers warn about unused keyword in methods when (call-next- method) is used? For example when compiling (defclass some-class () ()) (defmethod foo ((object some-class) some-arg &key some-key) (call-next-method)) SBCL and LispWorks warn about keyword some-key (haven't tried other compilers). The keyword is passed to the next method so declaring it as unused seems wrong. And they don't warn about argument some-arg. Is there any reason for this? And is there a way to get rid of these warnings? Paul |