(policy *lexenv* (>= insert-debug-catch 2)))
`((catch (locally
(declare (optimize (insert-step-conditions 0)))
- (make-symbol "SB-DEBUG-CATCH-TAG"))
+ ;; Using MAKE-SYMBOL would lead
+ ;; to recursive disaster.
+ (%make-symbol "SB-DEBUG-CATCH-TAG"))
,@forms))
forms))
(forms (if (eq result-type *wild-type*)
--- /dev/null
+;;;; miscellaneous tests of SYMBOL-related stuff
+
+;;;; This software is part of the SBCL system. See the README file for
+;;;; more information.
+;;;;
+;;;; While most of SBCL is derived from the CMU CL system, the test
+;;;; files (like this one) were written from scratch after the fork
+;;;; from CMU CL.
+;;;;
+;;;; This software is in the public domain and is provided with
+;;;; absolutely no warranty. See the COPYING and CREDITS files for
+;;;; more information.
+
+(in-package "CL-USER")
+
+;;; Reported by Paul F. Dietz
+(with-test (:name (:symbol :non-simple-string-name))
+ (let ((sym (make-symbol (make-array '(1) :element-type 'character
+ :adjustable t :initial-contents "X"))))
+ (assert (simple-string-p (symbol-name sym)))
+ (print sym (make-broadcast-stream))))
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.8.10"
+"0.9.8.11"