From 570a1a3ad773d93aa2128a8fba49f98e1e115d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Sat, 8 Jul 2023 12:28:13 +0200 Subject: parser: merge nested dynamic attributes Fixes https://github.com/NixOS/nix/issues/7115 --- tests/lang/eval-fail-dup-dynamic-attrs.nix | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/lang/eval-fail-dup-dynamic-attrs.nix (limited to 'tests/lang/eval-fail-dup-dynamic-attrs.nix') diff --git a/tests/lang/eval-fail-dup-dynamic-attrs.nix b/tests/lang/eval-fail-dup-dynamic-attrs.nix new file mode 100644 index 000000000..7ea17f6c8 --- /dev/null +++ b/tests/lang/eval-fail-dup-dynamic-attrs.nix @@ -0,0 +1,4 @@ +{ + set = { "${"" + "b"}" = 1; }; + set = { "${"b" + ""}" = 2; }; +} -- cgit v1.2.3