Ticket #933 (closed defect: fixed)
Issue with format and user-defined format functions
| Reported by: | hans | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ANSI CL Compliance | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by gb) (diff)
When using user-defined format functions and ~:*, CCL fails to interpret the format string correctly:
(defun cl-user::x (stream value a b) (declare (ignore a b)) (format stream "[~A]" value)) (defun x () (format nil "~/X/~:*~/X/" 1))
yields, while compiling:
; In X: Target position for ~* out of bounds in format string: ; "~:*~/X/~%" ; ^
and generates a runtime error.
Change History
Note: See
TracTickets for help on using
tickets.
