forked from lix-project/lix
eldritch horrors
11f35afa6f
diagnose attr duplication at the path the duplication was detected, not
at the path the current attribute wanted to place. doing the latter is
only correct if a leaf attribute was duplicated, not if an attrpath was
set to a non-attrset in one binding and a (potentially implied) attrset
in another binding.
fixes #124
Change-Id: Ic4aa9cc12a9874d4e7897c6f64408f10aa36fc82
6 lines
228 B
Plaintext
6 lines
228 B
Plaintext
error: attribute 'a.b.c' already defined at /pwd/lang/eval-fail-dupAttr-deep.nix:1:3
|
|
at /pwd/lang/eval-fail-dupAttr-deep.nix:1:14:
|
|
1| { a.b.c = 1; a.b.c.a.a = 1; }
|
|
| ^
|
|
2|
|