Fix a small extract_variable issue, fixes #1611
This commit is contained in:
1 parent
3a0a484fcb
commit
089a4713e3
3 files changed
+13
-3
No files matched your search
@@ -17,6 +17,15 @@ def test():
|
||||
a = 30 + b
|
||||
return test(100, (a, c) + 1)
|
||||
# -------------------------------------------------- simple-3
|
||||
foo = 3.1
|
||||
#? 8 text {'new_name': 'bar'}
|
||||
x = int(foo + 1)
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
foo = 3.1
|
||||
#? 8 text {'new_name': 'bar'}
|
||||
bar = foo + 1
|
||||
x = int(bar)
|
||||
# -------------------------------------------------- simple-4
|
||||
#? 13 text {'new_name': 'zzx.x'}
|
||||
test(100, {1 |1: 2 + 3})
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
Reference in new issue
Block a user