Skip to content

Extra new line between cast and collection expression. #1334

@PetSerAl

Description

@PetSerAl

Input:

string.Join(' ', (int[])[000000000000000000000000000000, 000000000000000000000000000000, .. Enumerable.Empty<int>()]);

Output:

string.Join(
    ' ',
    (int[])

        [
            000000000000000000000000000000,
            000000000000000000000000000000,
            .. Enumerable.Empty<int>(),
        ]
);

Expected behavior:

string.Join(
    ' ',
    (int[])
        [
            000000000000000000000000000000,
            000000000000000000000000000000,
            .. Enumerable.Empty<int>(),
        ]
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions