Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting of empty collection initializer for huge type #1268

Closed
Rudomitori opened this issue May 28, 2024 · 0 comments
Closed

Formatting of empty collection initializer for huge type #1268

Rudomitori opened this issue May 28, 2024 · 0 comments
Labels
Milestone

Comments

@Rudomitori
Copy link
Contributor

Input:

var patientsToSeed = new List<(
    int Id,
    List<(
        bool StudyIsFinished,
        bool StudyIsDroppedOut,
        List<(bool InProgress, bool InProgressManually)> Steps
    )>
)>
{};

Output:

var patientsToSeed = new List<(
    int Id,
    List<(
        bool StudyIsFinished,
        bool StudyIsDroppedOut,
        List<(bool InProgress, bool InProgressManually)> Steps
    )>
)>
{
    };

Expected behavior:
As in the input

Tested in the playground for the version 0.28.1

Rudomitori added a commit to Rudomitori/csharpier that referenced this issue Jun 12, 2024
@belav belav added this to the 0.29.0 milestone Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants