I did a pass through all files, fixing bits that have annoyed me here and there based on vibes. Roughly: - Replaced some out values like bools or strings with lists where appropriate. Those tests were likely older than the value printer - Added some parser tests where it makes sense - Gently touched some formatting woes, while trying to not cause too much diff noise - Removed some dead `with (import ./lib.nix);` code Change-Id: I8c40b2110f0b7799f68ae38ba61f049c5f1f6ee8
13 lines
751 B
Plaintext
13 lines
751 B
Plaintext
warning: using or as an identifier is deprecated because it cannot be used in most places (try let or = 1; in or). Use --extra-deprecated-features or-as-identifier to disable this warning.
|
|
at /pwd/in.nix:6:3:
|
|
5| bs = { f-o-o.bar = "foo"; };
|
|
6| or = x: y: x || y;
|
|
| ^
|
|
7| in
|
|
warning: using or as an argument is deprecated because it is parsed with the wrong precedence which may cause unexpected behavior. Use --extra-deprecated-features or-as-identifier to disable this warning.
|
|
at /pwd/in.nix:20:9:
|
|
19| # it short-circuits and never runs into the type error
|
|
20| (fold or [] [true false false])
|
|
| ^
|
|
21| ]
|