Skip to content

bug: conditions should be parsed using Expr::parse_without_eager_brace #77

@mkovaxx

Description

@mkovaxx

The current implementation uses Expr::parse, which may behave incorrectly in certain edge cases.

For more details, see:
https://github.com/dtolnay/syn/blob/2c7392d2f5cf9b399043b11619728a269ac40ace/src/expr.rs#L772-L789

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions