Skip to content

pretty-printer should parenthesize this expr_assert #927

@jruderman

Description

@jruderman
fn f() { (assert (10 == 10)) = 10 }

becomes

fn f() { assert (10 == 10) = 10 }

which becomes

fn f() { assert (10 == 10 = 10) }

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-prettyArea: Pretty printing (including `-Z unpretty`)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions