treewide: fix or-as-identifier (#475723)

This commit is contained in:
Silvan Mosberger
2026-01-01 13:27:44 +00:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ let
const
pipe
concat
or
"or"
and
xor
bitAnd

View File

@@ -433,7 +433,7 @@ rec {
else if all isAttrs list then
foldl' lib.mergeAttrs { } list
else if all isBool list then
foldl' lib.or false list
foldl' lib."or" false list
else if all isString list then
lib.concatStrings list
else if all isInt list && all (x: x == head list) list then

View File

@@ -197,7 +197,7 @@ in
: 2\. Function argument
*/
or = x: y: x || y;
"or" = x: y: x || y;
/**
boolean and