fix internal-defn handling of r6rs define form

This commit is contained in:
Matthew Flatt 2010-09-18 19:52:07 -06:00
parent fd285baeac
commit 5afc2970a3

View File

@ -546,7 +546,7 @@
[(_ (name . args) . body)
(check-label #'name
stx
(syntax/loc stx (r5rs:define (name . args) (#%stratified-body . body))))]
(syntax/loc stx (r5rs:define (name . args) (let () (#%stratified-body . body)))))]
[(_ . rest) #'(define . rest)]))
;; ----------------------------------------