*disable-with-error-handling*GBBopen Toolsassqallow-redefinitionGoTo Top

allow-redefinition   form* => result*[Macro]

Purpose
Suppress redefinition warnings associated with processing forms when possible.

Package   :gbbopen-tools (home package is :module-manager)

Module   :module-manager

Arguments and values

form     A form
results     The values returned by evaluating the last form

Returns
The values returned by evaluating the last form.

See also
    continue-patch
    finish-patch
    patch
    start-patch

Example

  > (defun redefined-function () "Silly.")
  silly
  > (defclass also-silly () ())
  also-silly
  > (allow-redefinition
       (defun redefined-function "Even more silliness.")
       (define-unit-class also-silly () ()))
  also-silly
  >

Note
This macro is defined in the :module-manager module in order to make it available as early as possible.

At present, redefinition warnings are not suppressed on CMUCL, ECL, SBCL, and Scieneer CL.


The GBBopen Project


*disable-with-error-handling*GBBopen Toolsassqallow-redefinitionGoTo Top