- changed status to resolved
Macro visibility is not correct
Issue #1
resolved
Following script prints incorrect value;
(import (rnrs))
(define-syntax renaming-test
(syntax-rules ()
((_ var val)
(begin
(define dummy val)
(define (var) dummy)))))
(define dummy #f)
(renaming-test a 'a)
(print (a))
(print dummy)
It should print 'a' and '#f' however the result is '2' and 'a'
Comments (1)
-
reporter - Log in to comment
Changed rename-pending-identifier! not to check global binding. (Fixes
#1)→ <<cset 8fa3629a4bc3>>