rinja-rs / rinja

A template rendering engine based on Jinja, generating type-safe Rust code at compile time.
https://rinja.readthedocs.io
Apache License 2.0
142 stars 10 forks source link

`if X && let Some(bla)` condition isn't parsed correctly #176

Open GuillaumeGomez opened 1 month ago

GuillaumeGomez commented 1 month ago

Currently it fails with:

error: unknown node `Some`
Kijewski commented 1 month ago

Currently only {% if let x = y && z %} is implemented. On other places a binding is not understood by the parser.

GuillaumeGomez commented 1 month ago

I was expecting something like this indeed. :)