Skip to content

Don't move trailing comments in let anymore#270

Merged
dasJ merged 1 commit intoNixOS:masterfrom
piegamesde:let-in-comments
Jan 7, 2025
Merged

Don't move trailing comments in let anymore#270
dasJ merged 1 commit intoNixOS:masterfrom
piegamesde:let-in-comments

Conversation

@piegamesde
Copy link
Member

Split out from #269 to delay it until after the Nixpkgs treewide


While this was initially introduced for good reasons, as can also be seen in the diff, that code was written with documentation comments in mind and not code comments. As per the bug report, the downsides were deemed to high to keep it in

Fixes #259

While this was initially introduced for good reasons, as can also be
seen in the diff, that code was written with documentation comments in
mind and not code comments. As per the bug report, the downsides were
deemed to high to keep it in

Fixes NixOS#259
@github-actions
Copy link

github-actions bot commented Dec 3, 2024

Nixpkgs diff

Copy link
Member

@dasJ dasJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Result looks good, cannot judge the code though

@piegamesde piegamesde marked this pull request as ready for review January 7, 2025 21:01
@dasJ dasJ merged commit 8d4bd69 into NixOS:master Jan 7, 2025
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/formatting-team-meeting-2024-12-10-and-2025-01-07/58466/1

@infinisil infinisil deleted the let-in-comments branch January 8, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Suggestion: commented out lines at the end of a let block should stay in the let block

4 participants