SourcetrailPythonIndexer icon indicating copy to clipboard operation
SourcetrailPythonIndexer copied to clipboard

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

Open mlangkabel opened this issue 6 years ago • 0 comments

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).

mlangkabel avatar May 13 '19 09:05 mlangkabel