type error during compile with structure access
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defstruct rif-struct (n 0 :type integer))
(declaim (special *s2*))
(defun f356 ()
(let* ((*s2* (make-rif-struct :n 0)))
(loop for lv3 below 1
count (position (rif-struct-n *s2*) '(1823036548290
==>
The value
3646073096581
is not of type
(SIGNED-BYTE 32)
when binding SB-X86-
[Condition of type TYPE-ERROR]
Restarts:
0: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: (SB-X86-
1: (SB-ASSEM:
2: (SB-ASSEM:
3: (SB-C::
4: (SB-C::
[...]
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Same error:
(defun f356a () 89632)) ))
(let ((x (make-rif-struct)))
(position (rif-struct-n x) '(1823036548290