Fix transposition in error message (#215)
This commit is contained in:
parent
97078b60ed
commit
e44a5bb9f1
|
@ -33,7 +33,7 @@
|
||||||
(let loop ([xs xs] [as '()])
|
(let loop ([xs xs] [as '()])
|
||||||
(define a (and (pair? xs) (attribute->symbol (car xs))))
|
(define a (and (pair? xs) (attribute->symbol (car xs))))
|
||||||
(cond [(not a) (values (reverse as) xs)]
|
(cond [(not a) (values (reverse as) xs)]
|
||||||
[(null? (cdr xs)) (error 'attriubtes+body
|
[(null? (cdr xs)) (error 'attributes+body
|
||||||
"missing attribute value for `~s:'" a)]
|
"missing attribute value for `~s:'" a)]
|
||||||
[else (loop (cddr xs) (cons (cons a (cadr xs)) as))])))
|
[else (loop (cddr xs) (cons (cons a (cadr xs)) as))])))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user