[format] remove in-syntax
This commit is contained in:
parent
e545d37ea7
commit
59b0df38d9
|
@ -51,8 +51,8 @@
|
||||||
(map syntax->datum (syntax-e #'(arg* ...))))))
|
(map syntax->datum (syntax-e #'(arg* ...))))))
|
||||||
;; 2. If any types left obligations, use `ann` to typecheck the args
|
;; 2. If any types left obligations, use `ann` to typecheck the args
|
||||||
#:with (arg+* ...)
|
#:with (arg+* ...)
|
||||||
(for/list ([a (in-syntax #'(arg* ...))]
|
(for/list ([a (in-list (syntax-e #'(arg* ...)))]
|
||||||
[t (in-syntax #'fmt.type*)])
|
[t (in-list (syntax-e #'fmt.type*))])
|
||||||
(if (syntax-e t) (quasisyntax/loc #'f (ann #,a #,t)) a))
|
(if (syntax-e t) (quasisyntax/loc #'f (ann #,a #,t)) a))
|
||||||
(syntax/loc #'f (format 'fmt.expanded arg+* ...))]
|
(syntax/loc #'f (format 'fmt.expanded arg+* ...))]
|
||||||
[f:id
|
[f:id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user