Am 07.02.2013 22:12, schrieb Dicebot:

On Thu, 07 Feb 2013 15:09:59 +0100, Sönke Ludwig wrote:

Passing local variables as aliases to global templates is still allowed, but it still can cause data
corruption. So I recommend to avoid that, too. I'll have to prepare a test case for this when I have
some time, as there currently is no open bug report for this AFAIK.

Are you sure about this? I have been doing this for ages in other code and had no problems if it is
the only context pointer needed. Any bugzilla / newsgroup link on topic?
Btw, Kenji had some proof-of-concept patch for allowing multiple context pointers, but,
unfortunately, discussion there stalled.

I know that with DMD 2.060 I still had data corruption in a project that used res.render!(), but
not with res.renderCompat!(). Kenji's fix for the original problem did seem to fix most of the
issues, but this seems to be a left-over. I haven't tried to reproduce it on 2.061 yet, but also
didn't see anything done in this area, so I assume that the issue persists.