Skip to content

generator: remove invisible group from output#419

Merged
Kijewski merged 1 commit intoaskama-rs:masterfrom
Kijewski:pr-no-group
Apr 26, 2025
Merged

generator: remove invisible group from output#419
Kijewski merged 1 commit intoaskama-rs:masterfrom
Kijewski:pr-no-group

Conversation

@Kijewski
Copy link
Copy Markdown
Member

The generated TokenStream gets parsed correctly by rustc, but fails to be parsed by syn in some circumstances. E.g. the template syntax test {# lets the playground crash.

This PR removes the invisible group.

GuillaumeGomez
GuillaumeGomez previously approved these changes Apr 26, 2025
The generated `TokenStream` gets parsed correctly by `rustc`, but fails
to be parsed by `syn` in some circumstances. E.g. the template syntax
`test {#` lets the playground crash.

This PR removes the invisible group.
@Kijewski
Copy link
Copy Markdown
Member Author

Fixed the linting errors. :) Needs to be re-approved.

@Kijewski Kijewski requested a review from GuillaumeGomez April 26, 2025 19:30
@Kijewski Kijewski merged commit bf5e066 into askama-rs:master Apr 26, 2025
41 checks passed
@Kijewski Kijewski deleted the pr-no-group branch April 26, 2025 20:24
@Kijewski Kijewski mentioned this pull request Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants