diff --git a/compiler/generic/vm-type.lisp b/compiler/generic/vm-type.lisp index fee581e6180fcbfcbef0fb29c6c32b2576ae0b8b..1d7d9a2b9ec8913db0c18ecb6060501dc3318778 100644 --- a/compiler/generic/vm-type.lisp +++ b/compiler/generic/vm-type.lisp @@ -35,7 +35,8 @@ ;;; ### Bootstrap hack: base characters don't exist in the old compiler, ;;; so leave characters alone. (compiler-let ((lisp::*bootstrap-deftype* t)) - (remhash 'character *builtin-types*) + (eval-when (compile eval load) + (remhash 'character *builtin-types*)) (deftype character () 'base-character)) ;;;