1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 21:51:50 +02:00

Merge pull request #9874 from pennae/error-reports

improve error reports somewhat
This commit is contained in:
tomberek 2024-03-08 10:51:14 -05:00 committed by GitHub
commit a200ee6bf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 336 additions and 142 deletions

View file

@ -0,0 +1,7 @@
---
synopsis: consistent order of lambda formals in printed expressions
prs: 9874
---
Always print lambda formals in lexicographic order rather than the internal, creation-time based symbol order.
This makes printed formals independent of the context they appear in.

View file

@ -0,0 +1,6 @@
---
synopsis: fix duplicate attribute error positions for `inherit`
prs: 9874
---
When an inherit caused a duplicate attribute error the position of the error was not reported correctly, placing the error with the inherit itself or at the start of the bindings block instead of the offending attribute name.