Skip to content

autoCallFunction: accept const Bindings &#11849

Merged
roberth merged 1 commit intomasterfrom
autocall-const
Nov 10, 2024
Merged

autoCallFunction: accept const Bindings &#11849
roberth merged 1 commit intomasterfrom
autocall-const

Conversation

@roberth
Copy link
Copy Markdown
Member

@roberth roberth commented Nov 10, 2024

Motivation

It does not need to mutate the attrs.
const is shallow.
Avoids a const_cast in the hercules-ci-cnix-expr bindings.

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

It does not need to mutate the attrs.
`const` is shallow.
Avoids a const_cast in the hercules-ci-cnix-expr bindings.
@roberth roberth requested a review from edolstra as a code owner November 10, 2024 19:54
@roberth roberth enabled auto-merge November 10, 2024 19:54
@roberth roberth merged commit 545956d into master Nov 10, 2024
@roberth roberth deleted the autocall-const branch November 10, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant