diff --git a/collects/mzlib/kw.ss b/collects/mzlib/kw.ss index d76596b67c..d60bbdd376 100644 --- a/collects/mzlib/kw.ss +++ b/collects/mzlib/kw.ss @@ -267,8 +267,8 @@ #'expr) #'(if (null? body*) expr - (error* 'name "non-keywords in arguments: ~e" - body*))))))))) + (error* 'name "expecting a ~s keyword got: ~e" + 'keywords (car body*)))))))))) ;; ------------------------------------------------------------------------ ;; generates the part of the body that deals with rest-related stuff (define (make-keys-body expr)