make the names of procedures with optional arguments be basedn on the
lexical name instead of "core" (this only shows up in stacktraces, as far as I can tell)
This commit is contained in:
parent
7f96ee19e0
commit
d1c29f8621
|
@ -441,7 +441,9 @@
|
||||||
[with-kw-max-arg (if (null? (syntax-e #'rest))
|
[with-kw-max-arg (if (null? (syntax-e #'rest))
|
||||||
(+ 2 (length plain-ids) (length opts))
|
(+ 2 (length plain-ids) (length opts))
|
||||||
#f)]
|
#f)]
|
||||||
[core (car (generate-temporaries '(core)))]
|
[core (car (generate-temporaries (if (identifier? local-name)
|
||||||
|
(list local-name)
|
||||||
|
'(core))))]
|
||||||
[unpack (car (generate-temporaries '(unpack)))])
|
[unpack (car (generate-temporaries '(unpack)))])
|
||||||
(let ([mk-core
|
(let ([mk-core
|
||||||
(lambda (kw-core?)
|
(lambda (kw-core?)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user