New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
num as {integer}
cast does not work?
#882
Comments
It's possible we don't support |
Nope, doesn't work either :(
|
Okay, well, if you want to try hacking it in, the code for binary expressions is around here: https://github.com/djc/askama/blob/main/askama_parser/src/expr.rs#L107 If you can submit a patch with a basic test I'm happy to review it and/or provide more guidance. |
In the meantime using |
Hi, I have this MRE:
and it doesn't compile because of the line with casting
as i64
.Is there some alternative syntax for it that I'm missing?
The text was updated successfully, but these errors were encountered: