-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Whitespace before endif is rendered after if block #490
Comments
Workaround is to replace |
Damn, I thought I fixed all these cases :) |
Thanks for the minimal reproduction! Can you reproduce this with main? It seems to work for me. |
I can confirm that this problem does not appear on the main branch. However (off-topic, I can open another issue if you want), I'm rather unhappy about the fact that invoking a function with both a variable and a literal now involves manually calling |
Yes, please open a separate issue about that. That does seem like a regression. |
I opened #492 |
Consider the following code:
This should print a list of numbers, e.g.
1, 2, 3
. However, what it prints instead is1, 2, 3
, which is not what I want and not what is defined in the template. This is likely due to the whitespace after the,
and before theendif
is rendered after theif
block in the generated rust code:Here's the parsed AST in case it helps:
The text was updated successfully, but these errors were encountered: