Skip to content

Commit

Permalink
Fixing extra blank line in collection expression (#1310)
Browse files Browse the repository at this point in the history
closes #1306
  • Loading branch information
belav authored Jul 29, 2024
1 parent f5c3db5 commit b7331a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ CallMethod(
]
);

CallMethod(_ =>
[
LongValue________________________________________________,
LongValue________________________________________________,
]
);

int[] someArray =
[
1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public static Doc Print(CollectionExpressionSyntax node, FormattingContext conte
or AttributeArgumentSyntax
or ArrowExpressionClauseSyntax
or ExpressionElementSyntax
or SimpleLambdaExpressionSyntax
or AssignmentExpressionSyntax
{
Parent: not (
Expand Down

0 comments on commit b7331a1

Please sign in to comment.