preserve lexical context, src, etc for sequence syntax expansion
The previous version of the code replaced the implicit #%app with the kernel #%app (ie, #%plain-app), causing sequence functions that take keyword arguments to fail.
This commit is contained in:
parent
117c81e2a6
commit
a85a71984d
|
@ -118,7 +118,8 @@
|
|||
(if (identifier? stx)
|
||||
(proc1)
|
||||
(datum->syntax stx
|
||||
#`(#,(proc1) . #,(cdr (syntax-e stx)))
|
||||
;; Use cons, not #`(#,op #,@args), to avoid replacing implicit #%app binding
|
||||
(cons (proc1) (cdr (syntax-e stx)))
|
||||
stx
|
||||
stx)))
|
||||
proc1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user