transfer srclocs so that check-syntax arrows work

This commit is contained in:
AlexKnauth 2017-01-13 16:56:24 -05:00
parent 995926e735
commit 232127da6f

View File

@ -117,7 +117,7 @@
(syntax-case stx ()
[id
(identifier? #'id)
ref-stx]
(replace-stx-loc ref-stx stx)]
[(id . args)
(let ([stx* (list* '#%app #'id (cdr (syntax-e stx)))])
(datum->syntax stx stx* stx stx))])))