fix `with-shared-id`

pull/2/head
Matthew Butterick 8 years ago
parent e2df4fee70
commit 42d0dacb5b

@ -119,9 +119,7 @@
(begin-for-syntax
(define-syntax-rule (with-shared-id (id ...) . body)
(with-syntax ([id (datum->syntax caller-stx (if (syntax? id)
(syntax-e id)
id))] ...)
(with-syntax ([id (datum->syntax caller-stx 'id)] ...)
. body)))

Loading…
Cancel
Save