Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Reference to for-loop-iterator not recorded inside iterable argument definition #39

@mlangkabel

Description

@mlangkabel

Consider the following code snippet:

baz = sorted(name[:-3] for name in ["foobar"] if len(name) > 3)

In this snippet the SourcetrailPythonIndexer records an "unsolved symbol" instead of a local variable for the last usage of name (inside the "len(name)" statement).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions