full-blows cross-compilation.)
* enhancement: MAKE-ALIEN signals a storage-condition instead of returning a
null alien when malloc() fails. (lp#891268)
+ * enhancement: SB-EXT:PRINT-UNREADABLY restart for PRINT-NOT-READABLE
+ conditions can be conveniently accessed through function with the same
+ name, analogously to CONTINUE.
* optimization: the compiler is smarter about representation selection for
floating point constants used in full calls.
* bug fix: deadlock detection could report the same deadlock twice, for
(define-nil-returning-restart continue ()
"Transfer control to a restart named CONTINUE, or return NIL if none exists.")
(define-nil-returning-restart store-value (value)
- "Transfer control and VALUE to a restart named STORE-VALUE, or return NIL if
- none exists.")
+ "Transfer control and VALUE to a restart named STORE-VALUE, or
+return NIL if none exists.")
(define-nil-returning-restart use-value (value)
- "Transfer control and VALUE to a restart named USE-VALUE, or return NIL if
- none exists."))
+ "Transfer control and VALUE to a restart named USE-VALUE, or
+return NIL if none exists.")
+ (define-nil-returning-restart print-unreadably ()
+ "Transfer control to a restart named SB-EXT:PRINT-UNREADABLY, or
+return NIL if none exists."))
;;; single-stepping restarts
(with-test (:name :bug-867684)
(assert (equal "ab" (format nil "a~0&b"))))
+(with-test (:name :print-unreadably-function)
+ (assert (equal "\"foo\""
+ (handler-bind ((print-not-readable #'sb-ext:print-unreadably))
+ (write-to-string (coerce "foo" 'base-string) :readably t)))))
+
;;; success