[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in 7/20/88 (beta) PCL
- To: Gregor.pa@Xerox.COM, CommonLoops.pa@Xerox.COM
- Subject: Bug in 7/20/88 (beta) PCL
- From: larus%paris.Berkeley.EDU@ginger.Berkeley.EDU (James Larus)
- Date: Sun, 24 Jul 88 15:30:29 PDT
- Redistributed: CommonLoops.pa
- Reply-to: larus@ginger.Berkeley.EDU
The following method gets (two!) warning messages when compiled:
(defmethod foo ((a bar)) (declare (ignore a)) nil)
Warning: In defmethod FOO (BAR), there is a
redundant ignore declaration for the A parameter.
Warning: variable A is used yet it was declared ignored
The problem arises because of the useless PROGN that DEFMETHOD inserts
into the body of this method. (Perhaps you only meant to insert this
form for functions that call CALL-NEXT-METHOD?)
/Jim