paulstansifer / unseemly

Macros have types!
http://unseemly.github.io/
MIT License
129 stars 5 forks source link

Hygiene problem in macro invocations #25

Closed paulstansifer closed 5 years ago

paulstansifer commented 5 years ago

This probably won't hit very often, but any hygiene violation is a soundness problem.

The implementation in a macro_invocation is separated from its environment at the time of Scope's syntax_syntax!, and then reunited at macro expansion time. Instead: