fix `syntax/boundmap', too
Related to PR 13911
This commit is contained in:
parent
2a4f32d853
commit
39dd0bb3be
|
@ -143,4 +143,11 @@
|
|||
(set! l (cons y l))))
|
||||
l)))))
|
||||
|
||||
(let ()
|
||||
(define-syntax name 'dummy)
|
||||
(define-syntax alias (make-rename-transformer #'name))
|
||||
(define table (make-free-identifier-mapping))
|
||||
(free-identifier-mapping-put! table #'alias 0)
|
||||
(test 0 free-identifier-mapping-get table #'name))
|
||||
|
||||
(report-errs)
|
||||
|
|
|
@ -107,10 +107,7 @@
|
|||
(define-struct module-identifier-mapping (ht))
|
||||
|
||||
(define (module-identifier->symbol id)
|
||||
(let ([binding (identifier-binding id)])
|
||||
(if (pair? binding)
|
||||
(cadr binding)
|
||||
(syntax-e id))))
|
||||
(identifier-binding-symbol id))
|
||||
|
||||
(make-mapping-code
|
||||
module-identifier->symbol
|
||||
|
|
Loading…
Reference in New Issue
Block a user