walker does not expand outer symbol-macrolets

Bug #1368305 reported by Christophe Rhodes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Low
Unassigned

Bug Description

 affects sbcl
 status confirmed
 importance low
 tag walker symbol-macrolet sb-cltl2
 done

The walker (and things which use it) do not correctly expand "native"
local symbol macros. For example

  (require :sb-cltl2)
  (symbol-macrolet ((x y))
    (macrolet ((z (form &environment env)
                 `',(sb-cltl2:macroexpand-all form env)))
      (z (+ x x))))

should return (+ y y) but returns (+ x x) instead.

Changed in sbcl:
status: Confirmed → Fix Committed
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.