Opened 15 years ago
Closed 6 years ago
#165 closed defect (fixed)
pprint-logical-block fails for format with list directive
| Reported by: | Mark Evenson | Owned by: | somebody |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.8.0 |
| Component: | other | Version: | 1.2.0-dev |
| Keywords: | streams sbcl-buildhost regression needs-triage | Cc: | |
| Parent Tickets: |
Description
Derived from the problems getting SBCL to compile, the following test fails with complaints in the XP package:
(defparameter *stream* *error-output*)
(defun pprint-test ()
(pprint-logical-block (*stream* nil :prefix "---")
(format *stream* "~(~A~)" '(1 2 3 4))))
with this error
The value #S(XP::XP-STRUCTURE :BASE-STREAM #S(SLIME-OUTPUT-STREAM) :LINE-LENGTH 70 :LINE-LIMIT NIL :LINE-NO 1 :DEPTH-IN-BLOCKS 2 :BLOCK-STACK #(0 0 3 NIL NIL NIL NIL NIL NIL NIL ...) :BLOCK-STACK-PTR 2 :BUFFER … is not of type STREAM. [Condition of type TYPE-ERROR]
Attachments (1)
Change History (25)
comment:1 by , 15 years ago
by , 15 years ago
| Attachment: | ticket-165.diff added |
|---|
comment:2 by , 15 years ago
Behavior remove with attached patch. See notes in patch for why this isn't completely satisfied.
comment:3 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in r13538, whose commit message incorrectly states that it is only partially correct patch.
comment:4 by , 14 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:5 by , 14 years ago
| Keywords: | needs-triage added |
|---|---|
| Milestone: | 0.27 → 1.1.0 |
| Version: | 0.27 → 1.1.0-dev |
Bug has resurfaced as of /trunk/abcl@13932.
comment:6 by , 14 years ago
| Keywords: | regression added |
|---|---|
| Priority: | major → critical |
comment:7 by , 14 years ago
| Keywords: | sbcl-buildhost,regression,needs-triage → sbcl-buildhost regression needs-triage |
|---|
comment:8 by , 14 years ago
The current problem is now that the prefix appears at the end of the stream.
The test has never worked, so the original comment on the commit about being a partial solution was somewhat correct.
comment:9 by , 14 years ago
| Keywords: | streams added |
|---|
Need to fix streams for good, now that we have a proper MOP to re-initialize the class structure properly.
c.f. http://trac.common-lisp.net/armedbear/wiki/implementation/components/streams
comment:10 by , 14 years ago
| Milestone: | 1.1.0 → 1.1.1 |
|---|
comment:11 by , 14 years ago
| Milestone: | 1.1.1 → 1.2.0 |
|---|---|
| Version: | 1.1.0-dev → 1.2.0-dev |
comment:12 by , 13 years ago
| Milestone: | 1.2.0 → 1.3.0 |
|---|
comment:15 by , 12 years ago
| Milestone: | 2.0.0 → 1.4.0 |
|---|
comment:20 by , 6 years ago
| Milestone: | 1.6.2 → 1.7.0 |
|---|
comment:24 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
ehu via #abcl
12:54 <ehu> easyE: the issue is on line 1076 of format.lisp 12:55 <ehu> but still, the real issue is that our xp printer isn't a stream