Explained a design decision.

original commit: 4aa7bc8439195addb172976253054ca1d41c72a1
This commit is contained in:
Vincent St-Amour 2010-09-22 17:51:18 -04:00
parent b6a14210ed
commit 2e1cf9d4f4

View File

@ -83,6 +83,7 @@ don't depend on any other portion of the system
(define (reset!) (set! delayed-errors null))
(match (reverse delayed-errors)
[(list) (void)]
;; if there's only one, we don't need multiple-error handling
[(list (struct err (msg stx)))
(reset!)
(raise-typecheck-error msg stx)]