aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/parse-fail-mixed-nested-attrs2.nix
diff options
context:
space:
mode:
authorFélix Baylac-Jacqué <felix@alternativebit.fr>2018-04-18 18:39:40 +0200
committerFélix Baylac-Jacqué <felix@alternativebit.fr>2018-04-18 18:44:38 +0200
commit00584bb0915ee21fb01e9390a901161bdd988197 (patch)
tree27643cb3166fa8d9c989572313623a960ae47ac0 /tests/lang/parse-fail-mixed-nested-attrs2.nix
parent10d33452e289ded93e192c7d99c1da08a52448e1 (diff)
parser: Allow mixed nested and top-level attrpaths
Fixes #2077.
Diffstat (limited to 'tests/lang/parse-fail-mixed-nested-attrs2.nix')
-rw-r--r--tests/lang/parse-fail-mixed-nested-attrs2.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/parse-fail-mixed-nested-attrs2.nix b/tests/lang/parse-fail-mixed-nested-attrs2.nix
new file mode 100644
index 000000000..17da82e5f
--- /dev/null
+++ b/tests/lang/parse-fail-mixed-nested-attrs2.nix
@@ -0,0 +1,4 @@
+{
+ x.y.y = 3;
+ x = { y.y= 3; z = 3; };
+}