Skip to content

Conversation

@brianrourkeboll
Copy link
Contributor

@brianrourkeboll brianrourkeboll commented Dec 6, 2023

Another followup to #16079.

Description

Keep parentheses in method calls in dot-lambdas, e.g.:

_.ToString("x")

Checklist

  • Test cases added.
  • Release notes entry updated.

@psfinaki Sorry for flooding you with these PRs... These are just quick things I'm coming across by chance. Once these are merged, I'll open one to move the UnnecessaryParentheses module out of ServiceAnalysis.fs to its own file. I hope to have a PR for the tests after that...

@brianrourkeboll brianrourkeboll marked this pull request as ready for review December 6, 2023 16:30
@brianrourkeboll brianrourkeboll requested a review from a team as a code owner December 6, 2023 16:30
@psfinaki
Copy link
Contributor

psfinaki commented Dec 6, 2023

Noooo on the contrary, thanks for doing this in small chunks, there is nothing better than small PRs :D

@psfinaki psfinaki enabled auto-merge (squash) December 6, 2023 18:04
auto-merge was automatically disabled December 7, 2023 14:24

Head branch was pushed to by a user without write access

@brianrourkeboll
Copy link
Contributor Author

@psfinaki There was a merge conflict in the release notes that dismissed the auto-merge, but otherwise this (and #16372) is still good to go. Unless you're waiting till #16377 is merged?

@psfinaki
Copy link
Contributor

Nope, that's good to go. Thanks for the ping, let get this in :)

@psfinaki psfinaki merged commit 3c531f2 into dotnet:main Dec 12, 2023
@brianrourkeboll brianrourkeboll deleted the parens-dot-lambda branch December 12, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants