The value NIL is not of type SB-C::IR2-LVAR

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

Bug Description

(FLET ((%F8 (F8-1 F8-2 F8-3)
                F8-2))
         (MULTIPLE-VALUE-CALL #'%F8
           (VALUES
            (PROG2 (/ (UNWIND-PROTECT (%F8 -3716048 1796682522 -106932) -5) 1)
                0)
            0 0)))

==>

The value
  NIL
is not of type
  SB-C::IR2-LVAR
   [Condition of type TYPE-ERROR]

Restarts:
 0: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: (SB-C::STANDARD-RESULT-TNS #<SB-C::LVAR 1 {1003043B83}>)
  1: (SB-C::IR2-CONVERT-LOCAL-UNKNOWN-CALL #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::CLAMBDA :%SOURCE-NAME %F8 :%DEBUG-NAME # :KIND NIL :TYPE #<SB-KERNEL:FUN-TYPE #> :WHERE-FROM :DEFINED :VARS # ..
  2: (SB-C::IR2-CONVERT-LOCAL-CALL #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::CLAMBDA :%SOURCE-NAME %F8 :%DEBUG-NAME # :KIND NIL :TYPE #<SB-KERNEL:FUN-TYPE #> :WHERE-FROM :DEFINED :VARS # {1003041..
  3: (SB-C::IR2-CONVERT-BLOCK #<SB-C::CBLOCK 4 :START c2 {100304AC83}>)
  4: (SB-C:IR2-CONVERT #<SB-C:COMPONENT :NAME (SB-C::XEP (FLET %F8)) {1003070643}>)
  5: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (SB-C::XEP (FLET %F8)) {1003070643}>)
[...]

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

In bed4a6c24b2fb49881162520960fdcc2aa29c980

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.