Unverified Commit cb0c9a41 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

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

parents f63a8c75 511bf566
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ let
        const
        pipe
        concat
        or
        "or"
        and
        xor
        bitAnd
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ in

    : 2\. Function argument
  */
  or = x: y: x || y;
  "or" = x: y: x || y;

  /**
    boolean “and”