[Openmcl-devel] Bug: MACROLET capturing free variables

Eric Marsden eric.marsden at free.fr
Mon Jan 7 03:01:58 PST 2013


The test below is MACROLET.47 from pfdietz's ANSI test suite. MACROLET
should not be capturing the binding of X to :BAD.

Welcome to Clozure Common Lisp Version 1.9-dev-r15564M  (LinuxX8664)!
?  (let ((x :good))
    (declare (special x))
    (let ((x :bad))
      (macrolet () (declare (special x)) x)))

Eric Marsden

More information about the Openmcl-devel mailing list