[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with &key args in defmethod?
- To: Phil Race <philr@uk.co.stc.icl.fs>, Stephen L. Nicoud <snicoud@atc.boeing.com>
- Subject: Re: problem with &key args in defmethod?
- From: Stephen L. Nicoud <snicoud@atc.boeing.com>
- Date: Thu, 3 May 90 14:39 PDT
- Cc: commonloops.pa@Xerox.COM
- In-reply-to: <16168.9005031248@sparc8.fs.icl.stc.co.uk>
- Redistributed: commonloops.pa
[Added commonloops.pa@xerox.com]
Date: Thu, 3 May 90 13:48:36 BST
From: Phil Race (ICL Strategic Systems Services)
<philr%fs.icl.stc.co.uk@NSFnet-Relay.AC.UK>
I had a similar problem, not necessarily identical, also using
Sun/Lucid 3.0.
and Rainy Day PCL when building CLUE7.1
There was a complaint about an &allow-other-keys. I was initially
looking
at the wrong method until I realised this was introduced during macro-
expansion of the move-focus method. If I recall this method also
had a &optional. My hopefully harmless kludge was to add
&rest rest-options and the the method then compiled OK.
You might care to try the same kludge.
I cannot make any promises since I moused your code into my PCL and it
worked fine.
Before:
(defmethod move-focus ((composite composite) &optional (direction
:next)
&key start revert-to)
After:
(defmethod move-focus ((composite composite) &optional (direction
:next)
&rest rest-options
&key start revert-to)
I have no idea what the underlying cause is and I don't have the time
at the mom
ent to go looking for it.
Phil Race,
ICL Strategic Systems Services,
Cardinal House,
St Mary's Parsonage
Manchester M3 2NL ENGLAND
Tel: +44 61 833 9111 x2204
Email: philr@uk.co.stc.icl.fs
Yes, this does seem to do the trick.
Thanks,
Steve
--
Stephen L. Nicoud <snicoud@atc.boeing.com> uw-beaver!bcsaic!snicoud
Boeing Advanced Technology Center for Computer Sciences