Skip to content

Consider allowing mutable owned args #2

@bddap

Description

@bddap

We currently don't differentiate mutable reference args from mutable owned args. Mutable reference args should definitely be disallowed because mutable out parameters are a footgun in an rpc context.

Mutable owned args on the other hand, may be safe to allow. Consider the implications and allow if helpful. If not helpful, disallow; throw a different error message depending of whether the mutable parameter is owned or a reference.

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