Skip to content

Lint request: warn when variable declared in match pattern shadows other variable #2890

Closed
@PieterPenninckx

Description

@PieterPenninckx

"The Book" (TRPL) warns about variables declared in match patterns shadowing other variables. I have once been hit by this myself, so this seems to be a good idea for a lint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.L-styleLint: Belongs in the style lint groupT-ASTType: Requires working with the AST

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions