walker does not expand outer symbol-macrolets

Bug #1368305 reported by Christophe Rhodes on 2014-09-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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  Edit
Everyone can see this information.

Other bug subscribers