Fix the 9.2 host adapter to agree with expected behavior (returning
the object), after changing the new definition so that it is easier to
continue from (error...) with a substitute.
(define random-bytevector random-byte-vector) env)
(eval '
(define (guarantee predicate object #!optional caller)
- (if (not (predicate object))
+ (if (predicate object)
+ object
(error "Not a:" predicate object))) env)
(eval '
(define (microcode-type name)
tag))
(define (guarantee predicate object #!optional caller)
- (if (not (predicate object))
- (error:not-a predicate object caller))
- object)
+ (if (predicate object)
+ object
+ (error:not-a predicate object caller)))
(define (error:not-a predicate object #!optional caller)
(error:wrong-type-argument object (predicate-description predicate) caller))