Skip to content

Make function arguments immutable again #1118

Closed
@marijnh

Description

@marijnh

Currently, when you assign to an argument, the compiler magically inserts a local value that's a copy of the argument (which is still owned by the caller). This is probably too magical, and should be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions