Files
openide/python/testData/findUsages/OuterVariableInGenerator.py
Semyon Proshev 8fd0d00f32 PY-8604 Fixed: Rename refactoring for variable in generator comprehension leads to unresolved references
PY-18808 Fixed: Incorrect variable highlighting

Update PyReferenceImpl.resolvesToSameLocal to correctly handle comprehensions
2016-05-18 19:30:27 +03:00

6 lines
94 B
Python

fo<caret>o = [1, 2]
foo = [bar for bar in foo]
bar = dict(
(baz, baz)
for baz in foo
)