aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/data/manual_inherit.nix
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/data/manual_inherit.nix')
-rw-r--r--bin/tests/data/manual_inherit.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/tests/data/manual_inherit.nix b/bin/tests/data/manual_inherit.nix
new file mode 100644
index 0000000..53ae4d7
--- /dev/null
+++ b/bin/tests/data/manual_inherit.nix
@@ -0,0 +1,12 @@
1let
2 a = 2;
3 y = "y";
4in
5{
6 # trivial
7 a = a;
8
9 # don't lint
10 x.y = y;
11}
12