Skip to content

Apply new attribute position semantics (name, not value) #13759

@roberth

Description

@roberth

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

Alternative solutions

Tie it to the value, change #13725 to return the function body position, and do the same for zipAttrsWith.

Additional context

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    error-messagesConfusing messages and better diagnosticsfeatureFeature request or proposallanguageThe Nix expression language; parser, interpreter, primops, evaluation, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions