Wrong macro lambda-list reported by function-lambda-list in interpreted mode
Bug #1387404 reported by
Jonathan Braud
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Looking up the lambda-list of a macro when *evaluator-mode* is :interpret
returns [what I guess is] the lambda-list of the macro expander:
(setq *evaluator-mode* :interpret)
(defmacro mac (x) x)
(sb-
=> (#:.WHOLE. #:.ENVIRONMENT.)
In SLIME/Emacs, the same lambda-list is displayed in the echo area, which isn't
terribly helpful. Things work as expected in :compile mode:
(setq *evaluator-mode* :compile)
(defmacro mac (x) x)
(sb-
=> (X)
The attached patch should fix this.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Applied in 5be7d686b782503 d16d243135b46b7 093b6769f2, thanks for the patch.