Unhelpful error on malformed macrolet
Bug #1395952 reported by
James Kalenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Macrolet and symbol-macrolet forms with invalid definitions give you a slightly weird error:
(macrolet (foo () 'bar) nil) => The value FOO is not of type LIST.
Contrast with flet: (flet (foo () 'bar) nil) => The FLET definition spec FOO is malformed.
Throwing (loop for def in definitions unless (listp def) do (compiler-error "The definition spec ~s is malformed." def)) into src/compiler/
sbcl --version => SBCL 1.1.14.debian, but it's still in git sources too.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In 755b72090b05d82 f2a8c8f6ad1de5c 3ddb160d75