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
{% set list = [] %}
{% set map = {} %}
{% do list.append(map) %}
{% if deferred %}
{% do list.append(1) %}
{% endif %}
{% do map.update({'a': 'A'}) %}
{{ list }}
This currently becomes:
{% set list = [{} ] %}{% if deferred %}
{% do list.append(1) %}
{% endif %}
{{ list }}
When it should be more like:
{% set list = [{'a': 'A'} ] %}{% if deferred %}
{% do list.append(1) %}
{% endif %}
{{ list }}
Or at least create a deferred node so that we know that something went wrong. The best way I can currently think of to solve this is to make the serialization which is part of the set-tag reconstruction lazy.
This would require a great deal of refactoring so I don't know if it is worth it to solve.
The text was updated successfully, but these errors were encountered:
This currently becomes:
When it should be more like:
Or at least create a deferred node so that we know that something went wrong. The best way I can currently think of to solve this is to make the serialization which is part of the set-tag reconstruction lazy.
This would require a great deal of refactoring so I don't know if it is worth it to solve.
The text was updated successfully, but these errors were encountered: