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

Empty Initializer gets double whitespace #461

Closed
belav opened this issue Oct 25, 2021 · 0 comments · Fixed by #465
Closed

Empty Initializer gets double whitespace #461

belav opened this issue Oct 25, 2021 · 0 comments · Fixed by #465
Assignees
Milestone

Comments

@belav
Copy link
Owner

belav commented Oct 25, 2021

var metrics = new MetricType[] {  };
// should be
var metrics = new MetricType[] { };
@belav belav self-assigned this Oct 25, 2021
@belav belav added this to the 0.11.0 milestone Oct 25, 2021
@belav belav changed the title Double whitespace Empty Initializer gets double whitespace Oct 25, 2021
belav added a commit that referenced this issue Oct 25, 2021
belav added a commit that referenced this issue Oct 25, 2021
shocklateboy92 pushed a commit that referenced this issue Oct 26, 2021
shocklateboy92 added a commit that referenced this issue Oct 26, 2021
* Make sure new object does not space brace

closes #461

* Adding a way to try to find usages of different syntax

* Go back to the start

* Adding another test case

Co-authored-by: Lasath Fernando <devel@lasath.org>
belav added a commit that referenced this issue Nov 10, 2021
belav added a commit that referenced this issue Nov 10, 2021
* Make sure new object does not space brace

closes #461

* Adding a way to try to find usages of different syntax

* Go back to the start

* Adding another test case

Co-authored-by: Lasath Fernando <devel@lasath.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant