expansion of splicing let-syntax needs revision
Bug #309223 reported by
Abdulaziz Ghuloum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Confirmed
|
Low
|
Abdulaziz Ghuloum | ||
IronScheme |
New
|
Undecided
|
Unassigned | ||
r6rs-libraries |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, splicing let-syntax is kind of equivalent to define-syntax in that the following is valid:
(let ()
(let-syntax ([foo (identifier-syntax 12)])
(define-syntax x (identifier-syntax foo)))
x)
=> 12
That is, foo expands correctly even though it's referenced out of its context (which is incorrect).
Changed in ikarus: | |
assignee: | nobody → aghuloum |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
Scary! I dont think I have ever come across it, but then again, I am not too comfortable with let-syntax and friends either still. :)