From 2ba978800355189e263aa7fe13277fd62ce743bc Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Mon, 4 Mar 2024 06:36:36 +0100 Subject: Merge pull request #9555 from 9999years/positions-in-errors Pass positions when evaluating (cherry picked from commit c8458bd731eb1c74159bebe459ea00165e056b65) Change-Id: I1b4a5d58973be6264ffdb23b4492da200fdb71be --- tests/functional/lang/eval-fail-using-set-as-attr-name.nix | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/functional/lang/eval-fail-using-set-as-attr-name.nix (limited to 'tests/functional/lang/eval-fail-using-set-as-attr-name.nix') diff --git a/tests/functional/lang/eval-fail-using-set-as-attr-name.nix b/tests/functional/lang/eval-fail-using-set-as-attr-name.nix new file mode 100644 index 000000000..48e071a41 --- /dev/null +++ b/tests/functional/lang/eval-fail-using-set-as-attr-name.nix @@ -0,0 +1,5 @@ +let + attr = {foo = "bar";}; + key = {}; +in + attr.${key} -- cgit v1.2.3