[closer-devel] ContextL: allow other keys in (re)initialize-instance methods for metaclasses

Paul Sexton psexton.2a at gmail.com
Wed Mar 14 20:56:43 UTC 2012


Hi

At present the metaclasses in contextl choke during initialisation if
they are passed keys that they do not recognise. This makes it very
difficult to create metaclasses derived from those classes, if the
derived metaclasses need to be passed their own arguments a la
':in-layer'.

Including &allow-other-keys in the argument lists for
(re)initialize-instance in cx-classes-in-layer.lisp and
cx-layer-metaclasses.lisp seems to fix this, and doesn't seem to have
any downsides. Would you consider making this change?

Thanks
Paul




More information about the closer-devel mailing list