Invalid scope for let-syntax

Create issue
Issue #52 resolved
Takashi Kato repo owner created an issue

following script should raise an unbound error

(import (rename (rnrs) (let-syntax rnrs:let-syntax)))

(define-syntax let-syntax
  (syntax-rules ()
    ((_ ((var trans) ...) expr ...)
     (let ()
       (rnrs:let-syntax ((var trans) ...) expr ...)))))

(let-syntax ((var (syntax-rules ())))
  (define bar 'bar)
  'ok)

(display bar)(newline)

Comments (1)

  1. Log in to comment