Switches initarg checking on or off in
make-instance
,
reinitialize-instance
,
change-class
and so on.
The function
set-clos-initarg-checking
provides control over whether CLOS checks initialization arguments. Initializations affected include:
reinitialize-instance
change-class
call-next-method
to
update-instance-for-redefined-class
with extra keywords.
Calling
set-clos-initarg-checking
with a true value of
on
causes the above initializations to check their initargs. This is the initial state of LispWorks.
Initarg checking is switched off globally and dynamically by
(set-clos-initarg-checking nil)
set-clos-initarg-checking
can be overridden in a runtime by the deliver keyword argument
:clos-initarg-checking
. See the
LispWorks Delivery User Guide
for details.
set-clos-initarg-checking
supersedesLispWorks User Guide and Reference Manual - 21 Dec 2011