Error in MAKE-ARRAY with OR element type
Bug #1769983 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(make-array 1 :element-type '(or (eql -16) unsigned-byte) :initial-contents '(-16))
==>
The value
NIL
is not of type
NUMBER
when binding SB-KERNEL::X
[Condition of type TYPE-ERROR]
Restarts:
0: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: (SB-KERNEL:
1: (SB-VM::GENERIC->)
2: (MAX -16 NIL)
3: (REDUCE #<FUNCTION MAX> (#<SB-KERNEL:
4: (SB-VM:
5: (MAKE-ARRAY 1 :ELEMENT-TYPE (OR (EQL -16) UNSIGNED-BYTE) :INITIAL-CONTENTS (-16))
[...]
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
b7773a8c129c056 7a0c8ab8963fc92 8d9c672db4