Ticket #170 (closed defect)

Opened 15 years ago

Last modified 15 years ago

->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

Changed 15 years ago by dherman

  • status changed from new to closed

Fixed in 9:2.

Note: See TracTickets for help on using tickets.