Switches initarg checking on or off in make-instance, reinitialize-instance, change-class and so on.
clos
set-clos-initarg-checking on => on
| on⇩ |
A generalized boolean. |
| on |
A generalized boolean. |
The function set-clos-initarg-checking provides control over whether CLOS checks initialization arguments. Initializations affected include:
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 Delivery User Guide for details.set-clos-initarg-checking supersedes set-make-instance-argument-checking.
class-extra-initargs
compute-class-potential-initargs
deliver
make-instance
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:25