The value NIL is not of type SB-C::CBLOCK when binding SB-C::B
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun f308 ()
(/ (ignore-errors (max 0 (the integer (eval 1)))) -1)
(max 0 (eval 1)))
==>
The value
NIL
is not of type
SB-C::CBLOCK
when binding SB-C::B
[Condition of type TYPE-ERROR]
[...]
0: (SB-C::CMOVP #<SB-ASSEM:LABEL 1> #<SB-C::CBLOCK 13 :START c1 {100AA624D3}> NIL) [external]
1: (SB-C::
2: (SB-C::
3: (SB-C::IR2-OPTIMIZE #<SB-C:COMPONENT :NAME (FLET "FORM-FUN-4" :IN F308) {100AA20793}>)
4: (SB-C::
5: (SB-C::
6: (SB-C::%COMPILE (SB-INT:
7
[...]
There is also a warning during the compile before the error is thrown:
; in: DEFUN F308
; (IGNORE-ERRORS (MAX 0 (THE INTEGER (EVAL 1))))
; --> HANDLER-CASE SB-INT:DX-FLET FLET #:FUN1 BLOCK PROGN VALUES
; ==>
; SB-C::VAL
;
; caught STYLE-WARNING:
; This is not a NUMBER:
; NIL
; See also:
; The SBCL Manual, Node "Handling of Types"
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
4ac5af80745cf6f a9fd73d497067ec 6ca9b7b54c