Skip to content

Resolve resolves loop collection expr in wrong context #745

Closed
@marijnh

Description

@marijnh

You can't currently do something like

for (int x in x) { ... }

because the loop variable will shadow the outer x.

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