lix/tests/functional/lang/parse-okay-rec-set-override-warning.nix

10 lines
205 B
Nix
Raw Normal View History

[
# Should warn
{ a = rec {}; a.__overrides = {}; }
rec { __overrides = {}; }
# Should not warn: Not recursive
{ __overrides = {}; }
# Should not warn: Dynamic
rec { ${"__overrides" + ""} = {}; }
]