Files
Aleksei Kniazev af8d542c7d IDEA-CR-49176: correctly handle name clashes when inlining function (PY-36497, PY-36485, PY-36486, PY-36502)
- refs that resolve to locally available targets are not renamed
- fixed scope computation for generating new names

GitOrigin-RevId: c2ab0c93c9712f6be3ffcb4e73f72f4771e96997
2019-07-08 18:05:36 +03:00

11 lines
148 B
Python

def should_not_be_renamed():
x = 1
return x
def my_function():
res = should_not_be_renamed()
return res
x = my_funct<caret>ion()