Error in form containing IGNORE-ERRORS

Bug #1949402 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

(defun bug065 ()
  (let ((lam
          '(lambda (c)
            (declare (optimize (speed 0)))
            (max
             (block nil
               (ignore-errors
                (return (floor 1020 c))))))))
    (funcall (compile nil lam) 86)))

(bug065) ==> ;; should be 11, 74

Value of #:ARG00 in (THE REAL #:ARG00) is NIL, not a REAL.
   [Condition of type SIMPLE-TYPE-ERROR]
[...]
Backtrace:
  0: (SB-C::%COMPILE-TIME-TYPE-ERROR (NIL) REAL #<unused argument> (#:ARG00) "(THE REAL #:ARG00)" NIL)
  1: ((LAMBDA (C)) 86)
[...]

Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats)
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.