STREAM-ERROR-POSITION-INFO fails on non-string and closed streams
Bug #1264902 reported by
Jan Moringen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
What I did:
(handler-case
(with-
(read stream))
(reader-error (condition) (princ-to-string condition)))
What happens:
PRINC-TO-STRING signals an error because STREAM is closed and STREAM-
What I expected to happen:
PRINC-TO-STRING should produce a string representation of CONDITION (not including position information) without signaling an error.
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Updated patch: STREAM-ELEMENT-TYPE can signal an error for closed streams.