Explained a design decision.
This commit is contained in:
parent
5b375780bd
commit
4aa7bc8439
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user