Files
openide/python/testData/findUsages/OuterVariableInListComprehension.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

5 lines
109 B
Python

def f():
x<caret>st = [(1, 2)]
print(xst)
xst = [(3, 4)]
return [(k, str(v)) for k, v in xst]