Comment 4 for bug 309223

Revision history for this message
leppie (leppie) wrote :

I think the required behaviour is almost like the 2nd example.

Here is how I think it should behave:

(let ()
  (define-syntax x
    (let-syntax ([foo (identifier-syntax 12)])
      (lambda (stx) #'foo)))
  x)
=> error "identifier out of context" 'foo