WRITE compiler-macro clashes variables

Bug #581564 reported by Stas Boukarev on 2010-05-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

(funcall (compiler-macro-function 'write) '(write (1+ stream) :base 10) nil) =>


Attached patch binds OBJECT variable to a form, and then calls OUTPUT-OBJECT on it.

Stas Boukarev (stassats) wrote :

WRITE-TO-STRING does the same. Attached a new patch, which fixes both.

Stas Boukarev (stassats) wrote :

#598374 bug contains a patch which fixes other problems with write compiler macros.

Changed in sbcl:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Nikodemus Siivola (nikodemus)
Nikodemus Siivola (nikodemus) wrote :

Thank you.

The WRITE bug has been fixed in, WRITE-TO-STRING issue in

Changed in sbcl:
status: Confirmed → Fix Committed
assignee: Nikodemus Siivola (nikodemus) → nobody
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