refactor: drop redundant semicolons - #332
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline and AI policy for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
| }); | ||
| done.get_future().get(); | ||
| KJ_EXPECT(error_thrown); | ||
| KJ_EXPECT(error_thrown) |
There was a problem hiding this comment.
hmm, for macros, I generally prefer if they enforce a trailing semicolon.
Though, it may be too late to fix this now?
There was a problem hiding this comment.
Then perhaps omit -Wextra-semi-stmt?
|
Yea. I don't have too much of an opinion, but it wasn't clear to me why a PR labelled "CI" (#321) was also making random source code changes (bd50831) (although it seems like that PR was generally confusing (#321 (comment))), so thought we could at least make this consistent. |
|
I think 321 was dropping it after a function def, this one is dropping it after statements. |
See #321 (comment). |
Thanks. It would be good to write commit messages that contain information for other contributors (which then persists over time), so they don't have to search through GitHub comments to try and find context/explanations. |
These were already used inconsistently, i.e:
libmultiprocess/test/mp/test/listen_tests.cpp
Line 223 in 67302cd
so just nuke all the redundant
;. Some also just dropped in bd50831.