Ticket #170 (closed defect)
->BlockStatement called incorrect in #%try
Reported by: | jay | Owned by: | dherman |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | dherman/javascript.plt | Keywords: | |
Cc: | Version: | (9 1) | |
Racket Version: | 4.1.4.3 |
Description
#%try is buggy: it doesn't provide env to ->BS
(define #%try
(transformer 'try statement #:keywords (finally) (stx env)
[(try body catches ... (finally clause))
(make-TryStatement? stx
(->BlockStatement? #'body) ; here
(->CatchClauses? #'(catches ...) env)
(->BlockStatement? #'clause env))]
[(try body catches ...)
(make-TryStatement? stx
(->BlockStatement? #'body) ; here
(->CatchClauses? #'(catches ...) env)
#f)]))
Change History
Note: See
TracTickets for help on using
tickets.