fix double evaluation in in-range (PR 9315)

svn: r9452
This commit is contained in:
Matthew Flatt 2008-04-24 12:06:50 +00:00
parent d09b8c5a78
commit f4703d8ab6

View File

@ -871,7 +871,7 @@
;; outer bindings:
([(start) a] [(end) b] [(inc) step])
;; outer check:
(unless (and (real? a) (real? b) (real? inc))
(unless (and (real? start) (real? end) (real? inc))
;; let `in-range' report the error:
(in-range start end inc))
;; loop bindings: