Skip to content

Add setattr() #353

Description

@brandjon

Pure Starlark doesn't have setattr() because no builtin types have mutable fields. Even Bazel's struct() type doesn't have mutable fields.

In principle we could add setattr() in order to standardize its behavior for applications that do have mutable fields. Undecided on whether that's worth doing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions