-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
error-messagesConfusing messages and better diagnosticsConfusing messages and better diagnosticsfeatureFeature request or proposalFeature request or proposallanguageThe Nix expression language; parser, interpreter, primops, evaluation, etcThe Nix expression language; parser, interpreter, primops, evaluation, etc
Description
Is your feature request related to a problem?
Some primops do not return attribute positions.
#13725 proposed to improve this for mapAttrs, implying that the attribute position is tied to the name; not the value.
Other primops and inherit don't make use of this rule yet.
Proposed solution
-
zipAttrsWith -
inherit?
Alternative solutions
Tie it to the value, change #13725 to return the function body position, and do the same for zipAttrsWith.
Additional context
Checklist
- checked latest Nix manual (source)
- checked open feature issues and pull requests for possible duplicates
Add 👍 to issues you find important.
Metadata
Metadata
Assignees
Labels
error-messagesConfusing messages and better diagnosticsConfusing messages and better diagnosticsfeatureFeature request or proposalFeature request or proposallanguageThe Nix expression language; parser, interpreter, primops, evaluation, etcThe Nix expression language; parser, interpreter, primops, evaluation, etc