forked from NixOS/nixfmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework: with, paramAttr, bindings, parentheses
- Bindings where the RHS is a parenthesized expression are now handled explicitly. - Function argument default values now use the same logic as bindings, making it prettier and more consistent. - Attribute sets in a `with` are now force-expanded in bindings. This is consistent with current attrset handling in bindings. - Improved parenthesized with statements. Revert "Rework: with, paramAttr, bindings, parentheses" This reverts commit c571ae4e9b546c25f9753f28f1b7160829a716f4.
- Loading branch information
1 parent
070063e
commit 1447c96
Showing
11 changed files
with
413 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.