(setf fdefinition) must disallow macro-function as new-val
Bug #1439921 reported by
Douglas Katzman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
CLHS says, in the last sentence under FDEFINITION:
"It is an error to set the fdefinition of a function-name to a symbol, a list, or the value returned by fdefinition on the name of a macro or special form."
e.g. (setf (fdefinition 'bork) (fdefinition 'and)) should fail
as should (setf (fdefinition 'bork) (fdefinition 'if))
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
fixed - http:// sourceforge. net/p/sbcl/ sbcl/ci/ 94909b8c11b9618 3374b2326033143 ed2e5f5cca/