Explained a design decision.
original commit: 4aa7bc8439195addb172976253054ca1d41c72a1
This commit is contained in:
parent
b6a14210ed
commit
2e1cf9d4f4
|
@ -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