--TEST--
"for" tag does not reset inner variables
--TEMPLATE--
{% for i in 1..2 %}
  {% for j in 0..2 %}
    {{k}}{% set k = k+1 %} {{ loop.parent.loop.index }}
  {% endfor %}
{% endfor %}
--DATA--
return ['k' => 0]
--EXPECT--
      0 1
      1 1
      2 1
        3 2
      4 2
      5 2
