You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When host of servers is accessed inside bar.tt, it shouldn't have the modifications made in foo.tt
Version
Include the output of fizzy version. Here's an example:
$ fizzy version
☞ fizzy version 2.2.0
☞ ruby version ruby 2.4.0p-1
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38399944-local-modifications-to-variables-are-not-local?utm_campaign=plugin&utm_content=tracker%2F10471801&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10471801&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
Expected behavior
When you modify variables inside a local, those modifications should be available only inside the current template.
Actual behavior
The modifications to variables are global, i.e. persisted after processing of the template that modifies the variables is completed.
Steps to reproduce the problem
Reliable way to reproduce the problem:
Create a template
foo.tt
with:Create a template
bar.tt
When
host
ofservers
is accessed insidebar.tt
, it shouldn't have the modifications made infoo.tt
Version
Include the output of
fizzy version
. Here's an example:The text was updated successfully, but these errors were encountered: