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

Collection expressions are prefixed with 2 spaces when using object initialisation syntax #1049

Closed
JoshWoodArup opened this issue Nov 29, 2023 · 0 comments · Fixed by #1054
Closed
Milestone

Comments

@JoshWoodArup
Copy link

Similar to #1009, collection literals are prefixed with 2 spaces when using object initialiser syntax. For example:

var a = new A { B = [1, 2, 3] };

is formatted as:

var a = new A { B =  [1, 2, 3] };
@belav belav added this to the 0.26.4 milestone Dec 1, 2023
belav added a commit that referenced this issue Dec 1, 2023
shocklateboy92 added a commit that referenced this issue Dec 2, 2023
* Fixing a number of bugs with collection expressions

closes #1049
closes #1047

* Found a few more edge cases

* and another

---------

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants