1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

feat: inline comments on inherit

This commit is contained in:
Kevin Amado 2022-02-28 15:50:09 -05:00
parent 62dd8ec60a
commit d839c3e5b2
5 changed files with 117 additions and 28 deletions

View file

@ -36,6 +36,16 @@ Types of changes
+ assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise
+
```
- Inline comments support for `if-then-else` expressions:
```diff
if y ? ${a}
- then v x.${a} y.${a}
- # both have attr, use merge func
- else x.${a}
- # only x has attr
+ then v x.${a} y.${a} # both have attr, use merge func
+ else x.${a} # only x has attr
```
### Changed