Steel Bank Common Lisp

setf documentation macro

Reported by mon_key on 2010-09-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Low
Unassigned

Bug Description

(defmacro tt--foo (x)
  (+ x x))

setf'ing documentation for a macro doesn't work:

(setf (documentation 'tt--foo 'function)
      "... won't doc ...")

However, this does:

(setf (documentation (macro-function 'tt--foo) 'function)
      "... will doc ...")

SBCL 1.0.42.25 built from git

Stas Boukarev (stassats) wrote :

The attached patch fixes it.

tags: added: review
Nikodemus Siivola (nikodemus) wrote :

Thanks for the patch!

Changed in sbcl:
importance: Undecided → Low
status: New → Triaged
Nikodemus Siivola (nikodemus) wrote :

In SBCL 1.0.42.49.

Changed in sbcl:
status: Triaged → Fix Committed
tags: removed: review
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