Mistaken compiler error is generated on non-proper list argument to macro

Bug #1929623 reported by Sean Maher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

This bug comes from the sbcl-help mailing list. You can find the actual email reporting the bug at https://groups.google.com/g/sbcl-help-archive/c/P-L8L554X5g/m/AMaeQZxbAgAJ

Copying their testcase:

0] (defmacro m(&rest y) (list 'quote y))

M
0] (macroexpand '(m . abc))

'ABC
T
0] (defun f()(m . abc))
; in: DEFUN F
; (AP5::M . AP5::ABC)
;
; caught ERROR:
; (M . ABC) is not a proper list.
;
; compilation unit finished
; caught 1 ERROR condition
F
0]

The sbcl version is the most recent version from SF, SBCL 2.1.4.148-86c205c67

I wrote a patch for it, which I've attached here.

Revision history for this message
Sean Maher (spvw) wrote :
Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Committed
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