verify-non-generic-switch

$Revision: 5.0.2.3 $

Variable

Package: COMPILER

The value of this variable can be t, nil, or a function object that accepts four arguments and returns t or nil. The arguments passed to the function will be the values of the safety, space, speed, and debug optimization qualities, in that order. nil is equivalent to a function that always returns nil and t to a function that always returns t. When we say t (or true) or nil (or false) in the text below, we mean that the function returns, respectively, t or nil.]

If true, code is generated that an object of undeclared type is of the correct type when it appears as the argument to specialized functions like svref and rplaca. Thus the argument to svref must be a simple vector and if this switch is true, code will check that (and give a meaningful error message). See 8.4 Argument type for a specialized function in compiling.htm for an example. Note that generic has nothing to do with (CLOS) generic functions. The name way predates CLOS.

Initially true for speed less than 3 or safety greater than 1

See compiling.htm for information on the compiler.

See introduction.htm for a general description of the documentation and index.htm for an index.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.