libexpr: Deprecate or in non-keyword positions
Test cases courtesy of rhenrdic Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems> Change-Id: Id8df684ddd00d07b49e1c9e68bf41ee6c0e6887c
This commit is contained in:
co-authored by
Commentator2.0
parent
af166146ff
commit
17f1bcfd2c
@@ -0,0 +1,10 @@
|
||||
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 or
|
||||
| ^
|
||||
2|
|
||||
error: syntax error, expecting expression
|
||||
at /pwd/in.nix:1:16:
|
||||
1| let or = 1; in or
|
||||
| ^
|
||||
2|
|
||||
Reference in New Issue
Block a user