cs: fix error message from raise-argument-error

Closes https://github.com/racket/racket/issues/2400
This commit is contained in:
Philip McGrath 2018-11-28 02:50:35 -05:00 committed by Matthew Flatt
parent 7823b6eecf
commit 2798608ccd

View File

@ -148,7 +148,9 @@
(if (and pos (pair? args))
(apply
string-append
"\n other arguments:"
"\n argument position: "
(nth-str (add1 pos))
"\n other arguments...:"
(let loop ([pos pos] [args (cons arg args)])
(cond
[(null? args) '()]