NIL is not of type SB-C::IR2-LVAR in IR2-CONVERT-CAST

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

Bug Description

Another random tester bug in current head build.

(defun f2 ()
  (unwind-protect 0
    (expt
     (labels ((%f (x &key) (svref #(46 32) 0)))
       (unwind-protect (%f (%f 0))))
     0)))
==>
; in: DEFUN F2
; (LABELS ((%F (X &KEY)
; (SVREF #(46 32) 0)))
; (UNWIND-PROTECT (%F (%F 0))))
;
; caught STYLE-WARNING:
; The variable X is defined but never used.

debugger invoked on a TYPE-ERROR in thread
#<THREAD "main thread" RUNNING {100192EAB3}>:
  The value
    NIL
  is not of type
    SB-C::IR2-LVAR

Revision history for this message
Stas Boukarev (stassats) wrote :

In 2ed06e261a01a0a6132c89dc1114607b7f286fbd

Changed in sbcl:
status: New → Fix Committed
Revision history for this message
Paul F. Dietz (paul-f-dietz) wrote :

This is still failing in HEAD; where was the fix committed?

Revision history for this message
Paul F. Dietz (paul-f-dietz) wrote :

I see it now.

Revision history for this message
Stas Boukarev (stassats) wrote :

Wrong hash, should be 6f37ac8c7c8a9c66c8e95870e1cefafcc2a249d7.

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.