Ticket #927 (closed enhancement: fixed)
If a symbol-macrolet defines the same symbol twice, the compiler should complain
|Reported by:||fare||Owned by:|
Dan Weinreb 2009-01-09 10:59:52 EST We had trouble in a place where a macro of ours expanded into a symbol-macrolet with several clauses, two of which defined the very same symbol. See our Buzilla
I don't actually see anywhere in the HyperSpec? that says this is illegal, although it also does not say what it would do (which symbol "wins"?).
SBCL flags it as an error.
For the time being, Fare has fixed that macro to check for that error manually.
[NB: ITA Bug 53168]