Add quoting to error message.

Closes PR14160.
This commit is contained in:
Vincent St-Amour 2013-11-18 15:32:12 -05:00
parent 63572cc0f7
commit eb67abb2ef

View File

@ -326,7 +326,7 @@
msg-vars
(Function: (list (arr: msg-doms msg-rngs msg-rests msg-drests (list (Keyword: _ _ #f) ...)) ...))))
(let ([fcn-string (if name
(format "function ~a" (syntax->datum name))
(format "function `~a'" (syntax->datum name))
"function")])
(if (and (andmap null? msg-doms)
(null? argtypes))