User defined sequences, types and MAKE-SEQUENCE.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Jan Moringen |
Bug Description
The function MAKE-SEQUENCE signals the wrong error for the following:
(defclass simple-
())
(deftype sbcl-sequence ()
'simple-
(make-sequence 'sbcl-sequence 10)
This signals
simple-
[Condition of type simple-type-error]
The expected condition should be of type NO-APPLICABLE-
SEQUENCE:
method defined for instances of the SIMPLE-
Attached is a patch that fixes the issue.
I would argue that a test should be added as this type and class
combination is needed to (partly) mimic the SIMPLE-ARRAY and
%SIMPLE-ARRAY-CLASS pattern defined in the standard.
Changed in sbcl: | |
assignee: | nobody → Jan Moringen (scymtym) |
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |