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

method declarations

It appears that declarations at the start of the body of a method
(using either DefMeth or DefMethod) are not passed through the function
at compile time.  For example, with CMU CommonLisp and PCL of
"1/26/87", compiling:
	(defmeth ((self foo) bar)
	  (declare (ignore self bar)))
generates a warning that foo and bar are bound but not referenced
although compiling:
	(lambda (self bar)
	  (declare (ignore self bar)))
does not.