placeholder doesn't consider binding

Issue #47 resolved
Takashi Kato repo owner created an issue

This should return 'bar

(import (rnrs))

(let-syntax ((_ (syntax-rules ())))
  (let-syntax ((foo (syntax-rules () ((_ _)  _))))
    (foo 'bar)))

The placeholder _ is not renamed thus the (_ _) considered 2 placeholders then inside of the template variable referes local variable _.

Comments (1)

  1. Log in to comment