Skip to content

Erroneous warning for loop name shadowing in separate match arms #30359

Closed
@insanitybit

Description

@insanitybit

http://is.gd/XAabFg

Despite the loop names not shadowing each other, as they exist within separate match arms, there's a warning for this code.

:13:13: 15:14 warning: label name 'l shadows a label name that is already in scope

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