Named let violates scoping rules
Bug #175117 reported by
leppie
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Medium
|
Abdulaziz Ghuloum | ||
r6rs-libraries |
Confirmed
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
I made the following snippet to test let and friends, ikarus and psyntax (via IronScheme) suffers from this bug.
(let ((b '(1 2 3)))
(let* ((a b)
(b (cons 0 a)))
(let b ((a b))
(if (null? a)
'done
(b (cdr a))))))
Ikarus gives me this reply:
Unhandled exception
Condition components:
1. &error
2. &who: cdr
3. &message: "invalid list structure"
4. &irritants: (#<procedure b>)
I am not sure what the problem is here, but it doesn't work as it should.
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Forgot to mention, I am using an updated expander.ss from ikarus (about a week old).