You are putting in ast-passes.js (an early pass of the compiler)
some knowledge of the runtime system (the way globals are accessed).
It makes sense to me that globals shouldn't be captured as closure variables, no matter how we implement them. Seems like something we know will hold true, no matter how we implement the system.
- Maxime