forked from lix-project/lix
eldritch horrors
279e30e7ef
hacking changelog-d to support not just github but also forgejo and
gerrit is a lot more complicated than it's worth, even moreso since
the entire thing can just as well be done with ~60 lines of python.
this new script is also much cheaper to instantiate (being python),
so having it enabled in all shells is far less of a hassle.
we've also adjusted existing release notes that referenced a gerrit
cl to auto-link to the cl in question, making the diff a bit bigger
closes lix-project/lix#176
Change-Id: I8ba7dd0070aad9ba4474401731215fcf5d9d2130
22 lines
710 B
Markdown
22 lines
710 B
Markdown
---
|
|
synopsis: Duplicate attribute reports are more accurate
|
|
cls: 557
|
|
---
|
|
|
|
Duplicate attribute errors are now more accurate, showing the path at which an error was detected rather than the full, possibly longer, path that caused the error.
|
|
Error reports are now
|
|
```ShellSession
|
|
$ nix eval --expr '{ a.b = 1; a.b.c.d = 1; }'
|
|
error: attribute 'a.b' already defined at «string»:1:3
|
|
at «string»:1:12:
|
|
1| { a.b = 1; a.b.c.d = 1;
|
|
| ^
|
|
```
|
|
instead of
|
|
```ShellSession
|
|
$ nix eval --expr '{ a.b = 1; a.b.c.d = 1; }'
|
|
error: attribute 'a.b.c.d' already defined at «string»:1:3
|
|
at «string»:1:12:
|
|
1| { a.b = 1; a.b.c.d = 1;
|
|
| ^
|
|
```
|