Skip to content

Deprecate _ as x patterns #4664

@lpil

Description

@lpil

The _ as x syntax is pointless! It can always be written more concisely as x.

Emit a warning when it is used, and have the formatter rewrite _ as y to y.

Update this document in the same PR to check those items off.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions