Skip to content

Incorrect comma placement when formatting lambda list #10526

@SolalPirelli

Description

@SolalPirelli

Version Used: VS 2015 Update 2

Steps to Reproduce:

  1. Add using System;
  2. Write the following code:
Action a = () => { }, 
       b = () => { };
  1. Format the document

Expected Behavior: Nothing changes

Actual Behavior: The comma goes on its own line:

Action a = () => { }
,
       b = () => { };

Might be related to #7704, another lambda formatting bug I reported.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions