off by one error in 2htdp/image error messages
closes PR 11476
This commit is contained in:
parent
fd79abcc1f
commit
45a97cb561
|
@ -49,7 +49,7 @@
|
|||
(with-syntax ([(i ...) (build-list len add1)])
|
||||
#`(define (fn-name args ... . final-arg)
|
||||
(let ([args (check/normalize 'fn-name 'args args i)] ...
|
||||
[final-arg (map/i (λ (x j) (check/normalize 'fn-name 'final-arg x (+ #,len j)))
|
||||
[final-arg (map/i (λ (x j) (check/normalize 'fn-name 'final-arg x (+ #,(+ len 1) j)))
|
||||
final-arg)])
|
||||
body ...))))]
|
||||
[(define/chk (fn-name args ...) body ...)
|
||||
|
|
Loading…
Reference in New Issue
Block a user