From f6eb95619981c2ef3b65e5d92691c8231f83a40c Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 17 Nov 2018 15:06:55 -0700 Subject: [PATCH] cs: fix `error` with a single symbol argument Closes #2379 --- racket/src/io/error/main.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racket/src/io/error/main.rkt b/racket/src/io/error/main.rkt index 8ef4da9700..25357e0ad5 100644 --- a/racket/src/io/error/main.rkt +++ b/racket/src/io/error/main.rkt @@ -19,7 +19,7 @@ (null? args)) (raise (exn:fail - (format "error: ~a" init) + (string-append "error: " (symbol->string init)) (current-continuation-marks)))] [(symbol? init) (unless (string? (car args))