Add more kw source locations.
This commit is contained in:
parent
f3dd113e9d
commit
14e206bd0b
|
@ -1390,7 +1390,9 @@
|
|||
(lambda (args)
|
||||
(quasisyntax/loc stx
|
||||
(if (variable-reference-constant? (#%variable-reference #,wrap-id))
|
||||
(#,impl-id/prop
|
||||
#,(quasisyntax/loc stx
|
||||
(#%app
|
||||
#,impl-id/prop
|
||||
;; keyword arguments:
|
||||
#,@(let loop ([kw-args kw-args] [all-kws all-kws])
|
||||
(cond
|
||||
|
@ -1420,7 +1422,7 @@
|
|||
;; rest args:
|
||||
#,@(if rest?
|
||||
#`((list #,@(list-tail args (min (length args) (+ n-req n-opt)))))
|
||||
null))
|
||||
null)))
|
||||
#,(if lifted?
|
||||
orig
|
||||
(quasisyntax/loc stx (#%app #,wrap-id/prop . #,args)))))))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user