cs: fix error with a single symbol argument

Closes #2379
This commit is contained in:
Matthew Flatt 2018-11-17 15:06:55 -07:00
parent c1c110f662
commit f6eb956199

View File

@ -19,7 +19,7 @@
(null? args)) (null? args))
(raise (raise
(exn:fail (exn:fail
(format "error: ~a" init) (string-append "error: " (symbol->string init))
(current-continuation-marks)))] (current-continuation-marks)))]
[(symbol? init) [(symbol? init)
(unless (string? (car args)) (unless (string? (car args))