Skip to content

Pretty-printing wraps trailing paren #419

@graydon

Description

@graydon

Not sure why, but pretty printing an expr list (foo, bar) will often produce:

(foo, bar
);

Ideally the ) would be considered part of the final token in the list, indivisible from wherever it gets wrapped to.

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