Files
lix/tests/functional2/lang/attrs-or/warning.err.exp
T
piegamesandCommentator2.0 17f1bcfd2c libexpr: Deprecate or in non-keyword positions
Test cases courtesy of rhenrdic

Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems>
Change-Id: Id8df684ddd00d07b49e1c9e68bf41ee6c0e6887c
2026-01-31 15:32:28 +01:00

11 lines
683 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:1:5:
1| let or = 1; in { a = 2; }.a or (x: x) or
| ^
2|
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:1:39:
1| let or = 1; in { a = 2; }.a or (x: x) or
| ^
2|