Skip to content

Pretty printer adds newlines after comments in tag declarations #809

@msullivan

Description

@msullivan
tag foo {
    foo; // a foo.
    bar;
}

fn main() { }

will becomes

tag foo {
    foo; // a foo.

    bar;
}

fn main() { }

This will happen every time, increasing the amount of whitespace each time the pretty printer is run.

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