Code to replicate this issue: https://github.com/KILLERTKK/vibed-bug Expected result: - Everything works fine Actual result: - Passed variable is corrupted while using it from within the template (including embedded D code) - The rest of the template doesn't get rendered 