lix/doc/manual/rl-next
eldritch horrors 9cf92c012d report inherit attr errors at the duplicate name
previously we reported the error at the beginning of the binding
block (for plain inherits) or the beginning of the attr list (for
inherit-from), effectively hiding where exactly the error happened.

this also carries over to runtime positions of attributes in sets as
reported by unsafeGetAttrPos. we're not worried about this changing
observable eval behavior because it *is* marked unsafe, and the new
behavior is much more useful.

(cherry picked from commit 1edd6fada53553b89847ac3981ac28025857ca02)
Change-Id: I2f50eb9f3dc3977db4eb3e3da96f1cb37ccd5174
2024-03-18 16:12:45 +01:00
..
better-errors-in-nix-repl.md Merge pull request from 9999years/error-messages-in-nix-repl 2024-03-09 03:37:35 -07:00
config Merge pull request from hercules-ci/changelog-d 2024-03-04 07:11:19 +01:00
debugger-locals-for-let-expressions.md Merge pull request from 9999years/debugger-locals-for-let-expressions 2024-03-04 08:54:52 +01:00
debugger-on-trace.md Merge pull request from 9999years/debugger-on-trace 2024-03-09 10:17:26 -07:00
drv-string-parse-hang.md Merge pull request from pennae/drv-parse-opts 2024-03-04 07:36:51 +01:00
dup-attr-errors.md diagnose duplicated attrs at correct path 2024-03-16 22:12:49 +01:00
empty-search-regex.md Merge pull request from iFreilicht/disallow-nix-search-without-search-terms 2024-03-04 08:40:12 +01:00
enter-debugger-more-reliably-in-let-and-calls.md Merge pull request from 9999years/enter-debugger-more-reliably 2024-03-09 03:37:35 -07:00
env-size-reduction.md Merge pull request from pennae/env-diet 2024-03-04 07:37:45 +01:00
eval-system.md Merge pull request from matthewbauer/eval-system 2024-03-04 07:21:01 +01:00
formal-order.md normalize formal order on ExprLambda::show 2024-03-18 07:56:34 -06:00
inherit-error-positions.md report inherit attr errors at the duplicate name 2024-03-18 16:12:45 +01:00
inherit-from-by-need.md evaluate inherit (from) exprs only once per directive 2024-03-10 03:18:32 -06:00
nix-env-json-drv-path.md Merge pull request from hercules-ci/rl-next-md-frontmatter 2024-03-04 07:12:09 +01:00
nix-flake-check-logs-actions.md Add release notes 2024-03-07 12:29:57 -08:00
print-value-in-coercion-error.md Merge pull request from 9999years/print-value-when-coercion-fails 2024-03-09 00:05:41 -07:00
print-value-in-type-error.md Merge pull request from 9999years/print-value-on-type-error 2024-03-09 00:05:41 -07:00
reduce-debugger-clutter.md Merge pull request from 9999years/reduce-debugger-clutter 2024-03-04 08:52:57 +01:00
source-location-in-while-evaluating-attribute.md Merge pull request from 9999years/evaluating-attribute-position 2024-03-04 09:25:17 +01:00
source-positions-in-errors.md Merge pull request from 9999years/print-value-on-type-error 2024-03-09 00:05:41 -07:00
stack-overflow-segfaults.md Merge pull request from 9999years/stack-overflow-segfault 2024-03-04 07:35:20 +01:00
with-error-reporting.md Merge pull request from 9999years/print-value-on-type-error 2024-03-09 00:05:41 -07:00