remove bogus r6rs check and syntax error

svn: r16360
This commit is contained in:
Matthew Flatt 2009-10-18 12:19:35 +00:00
parent c448874002
commit 5555bba97e

View File

@ -523,6 +523,9 @@
(syntax/loc stx (r5rs:lambda args (let () . body)))]))
(define-for-syntax (check-label id orig-stx def)
;; This test shouldn't be needed, and it interferes
;; with macro-introduced bindings:
#;
(when (eq? 'module (syntax-local-context))
(when (identifier-binding id #f)
(raise-syntax-error