-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Fix wrong reporting for removing parenthesis for stackalloc #44661
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
Conversation
...UtilitiesAndExtensions/Compiler/CSharp/Extensions/ParenthesizedExpressionSyntaxExtensions.cs
Outdated
Show resolved
Hide resolved
no. i mean a comment explaining why we don't want to remove parens here. |
...UtilitiesAndExtensions/Compiler/CSharp/Extensions/ParenthesizedExpressionSyntaxExtensions.cs
Outdated
Show resolved
Hide resolved
|
@CyrusNajmabadi There are test failures now after I moved the test down, can you check where is the problem? things are a bit hard for me to figure, especially that I can't open the sln in Visual Studio. |
|
Yup, this test is failing:
i can try to debug through later to see why. |
...UtilitiesAndExtensions/Compiler/CSharp/Extensions/ParenthesizedExpressionSyntaxExtensions.cs
Outdated
Show resolved
Hide resolved
|
@CyrusNajmabadi, The unit test was just missing the |
|
Great, thanks! |
Fixes #44629
@CyrusNajmabadi, Opening
Compilers.slnin Visual Studio makes my laptop hangs and unusable (perhaps because low specs and the solution is very big). So, I really cannot confirm if this fixes it.I'll add relevant unit tests soon.