forked from lix-project/lix
46e8caabb1
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:
|
||
---|---|---|
.. | ||
better-errors-in-nix-repl.md | ||
config | ||
debugger-locals-for-let-expressions.md | ||
debugger-on-trace.md | ||
drv-string-parse-hang.md | ||
empty-search-regex.md | ||
enter-debugger-more-reliably-in-let-and-calls.md | ||
env-size-reduction.md | ||
eval-system.md | ||
formal-order.md | ||
inherit-error-positions.md | ||
inherit-from-by-need.md | ||
nix-env-json-drv-path.md | ||
nix-flake-check-logs-actions.md | ||
print-value-in-coercion-error.md | ||
print-value-in-type-error.md | ||
reduce-debugger-clutter.md | ||
source-location-in-while-evaluating-attribute.md | ||
source-positions-in-errors.md | ||
stack-overflow-segfaults.md | ||
with-error-reporting.md |