Skip to content

Commit

Permalink
fixing simple bug
Browse files Browse the repository at this point in the history
  • Loading branch information
belav committed May 31, 2021
1 parent 56033e7 commit 467add9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public class ClassName
) => someLongNameThatWillDoStuff
);

var task = Task.Factory.StartNew(async () => {
var task = Task.Factory.StartNew(async () =>
{
return await new WebClient().DownloadStringTaskAsync(
"http://example.com"
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static Doc Print(ParenthesizedLambdaExpressionSyntax node)
Modifiers.Print(node.Modifiers),
ParameterList.Print(node.ParameterList),
" ",
Token.PrintWithSuffix(node.ArrowToken, " ")
Token.PrintWithSuffix(node.ArrowToken, node.Block is not null ? Doc.HardLine : " ")
};
if (node.ExpressionBody != null)
{
Expand Down

0 comments on commit 467add9

Please sign in to comment.