Skip to content

Commit

Permalink
Fixing regression from 0.27.1 with invocations
Browse files Browse the repository at this point in the history
closes #1153
  • Loading branch information
belav committed Jan 27, 2024
1 parent 627e7c7 commit f4ced2b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,11 @@ or BaseExpressionSyntax
// https://github.com/belav/csharpier-repos/pull/100/files
if (
groups[1].Count == 1
|| parent is SimpleLambdaExpressionSyntax or ArgumentSyntax or BinaryExpressionSyntax
|| parent
is SimpleLambdaExpressionSyntax
or ArgumentSyntax
or BinaryExpressionSyntax
or ExpressionStatementSyntax
|| groups[1].Skip(1).First().Node
is InvocationExpressionSyntax
or ElementAccessExpressionSyntax
Expand Down

0 comments on commit f4ced2b

Please sign in to comment.