Better error message for non-keywords
svn: r1106 original commit: 04d36492b5ac2157e1691d38629df2fcd1a69e43
This commit is contained in:
parent
6b657c26ed
commit
f1d98beb31
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user