Skip to content

"(__askama_item" is not a valid identifier #679

@GuillaumeGomez

Description

@GuillaumeGomez

While porting uniffi on the new askama version, I got this error. I reduced it to this:

{%- macro w(lol) %}
y: {{- lol -}}
{% endmacro -%}

{%- for x in &[0] -%}
{%- call w(loop.index) %}{% endcall -%}
{% endfor %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions