Skip to content

lang wish: unused destructured variable can be meaningfully _varName named, with leading _ to suppress "unused" error #106

@rjharmon

Description

@rjharmon

... as with Typescript, where naming a destructured variable with leading _ allows there to be readability in the semantic variable name, with the _ clue that it's not used.

It would be extra nice if that _varName was actually not part of the resulting scope, so it CANT be used.

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