-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Another very minor issue with the new C# list syntax #1059
Comments
While looking into a fix for this, I found out this same problem exists in a lot of different cases. [Attribute
// some comment
]
class Class
{
void Method()
{
CallMethod(
[
// some comment
]
);
CallMethod(
// some comment
);
var x = Array[
1
// some comment
];
}
} I'm sure there are more, close brackets also exist in these other node types. I didn't figure out how many places closing parenthesis exists.
Some of these are unlikely to occur in real code, so instead of trying to address them all I'm thinking just fix them as they come up. |
Thank you so much for your help! 😊 |
Hey again, just found another very minor issue.
Is being formatted to:
I think that any code (comments included) inside the square brackets should be indented. What do you think?
Cheers
Fotis
The text was updated successfully, but these errors were encountered: