Better error message for non-keywords
svn: r1106
This commit is contained in:
parent
9eb9d4e040
commit
04d36492b5
|
@ -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