Hey!
Thanks for maintaining Ginger!
I believe there's a precedence bug parsing the following if that I'm seeing in real-life Jinja templates:
{%- if foo is bar and baz is qux %}
{%- endif %}
It warns of an unexpected "b" at column 23, i.e where baz is qux starts at. If you parenthesize the foo is bar part, it parses fine. I assume it's a precedence issue with is and and. :)
Cheers!
Hey!
Thanks for maintaining Ginger!
I believe there's a precedence bug parsing the following
ifthat I'm seeing in real-life Jinja templates:It warns of an
unexpected "b"at column 23, i.e wherebaz is quxstarts at. If you parenthesize thefoo is barpart, it parses fine. I assume it's a precedence issue withisandand. :)Cheers!