Test cases courtesy of rhenrdic Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems> Change-Id: Id8df684ddd00d07b49e1c9e68bf41ee6c0e6887c
13 lines
726 B
Plaintext
13 lines
726 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:9:3:
|
|
8|
|
|
9| or = x: y: x || y;
|
|
| ^
|
|
10|
|
|
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:23:11:
|
|
22| # it short-circuits and never runs into the type error
|
|
23| (fold or [] [true false false])
|
|
| ^
|
|
24| ]
|