Logical block prefix non-constantness false-positive in FORMAT.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Confirmed
|
Low
|
Unassigned |
Bug Description
deepfire@auriga:~$ sbcl --no-userinit --eval '(format nil "~@<~@< ~;~A~:@>~:@>" nil)'
This is SBCL 1.0.33.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
debugger invoked on a SB-FORMAT:
error in FORMAT: cannot include format directives inside the prefix segment of ~<...~:>
~@<~@< ~;~A~:@>~:@>
^
See also:
The ANSI Standard, Section 22.3.5.2
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-
0: [CONTINUE] Ignore runtime option --eval "(format nil \"~@<~@< ~;~A~:@>~:@>\" nil)".
1: [ABORT ] Skip rest of --eval and --load options.
2: Skip to toplevel READ/EVAL/PRINT loop.
3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).
((FLET SB-FORMAT:
0] * deepfire@auriga:~$ sbcl --no-userinit --eval '(format nil "~@<~@<
This is SBCL 1.0.33.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
*
I'm slow, so please clarify: the second case should complain as well, instead of printing "NIL"?