[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
method declarations
- To: CommonLoops.PA@Xerox.COM
- Subject: method declarations
- From: Rick.Busdiecker@h.cs.cmu.edu
- Date: 23 Feb 87 22:37 EST
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.
Rick