mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
Fix some last extract issues
This commit is contained in:
@@ -154,3 +154,45 @@ z = y + 1 + 2+ 3, 3
|
||||
#? 4 text {'new_name': 'x', 'until_column': 9}
|
||||
x = y + 1
|
||||
z = x + 2+ 3, 3
|
||||
# -------------------------------------------------- addition-2
|
||||
#? 8 text {'new_name': 'x', 'until_column': 12}
|
||||
z = y +1 + 2+ 3, 3
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#? 8 text {'new_name': 'x', 'until_column': 12}
|
||||
x = 1 + 2
|
||||
z = y +x+ 3, 3
|
||||
# -------------------------------------------------- addition-3
|
||||
#? 10 text {'new_name': 'x', 'until_column': 14}
|
||||
z = y + 1 + 2+ 3, 3
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#? 10 text {'new_name': 'x', 'until_column': 14}
|
||||
x = 1 + 2+ 3
|
||||
z = y + x, 3
|
||||
# -------------------------------------------------- addition-4
|
||||
#? 13 text {'new_name': 'x', 'until_column': 17}
|
||||
z = y + (1 + 2)+ 3, 3
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#? 13 text {'new_name': 'x', 'until_column': 17}
|
||||
x = (1 + 2)+ 3
|
||||
z = y + x, 3
|
||||
# -------------------------------------------------- mult-add-1
|
||||
#? 8 text {'new_name': 'x', 'until_column': 11}
|
||||
z = foo(y+1*2+3, 3)
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#? 8 text {'new_name': 'x', 'until_column': 11}
|
||||
x = y+1
|
||||
z = foo(x*2+3, 3)
|
||||
# -------------------------------------------------- mult-add-2
|
||||
#? 12 text {'new_name': 'x', 'until_column': 15}
|
||||
z = foo(y+1*2+3)
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#? 12 text {'new_name': 'x', 'until_column': 15}
|
||||
x = 2+3
|
||||
z = foo(y+1*x)
|
||||
# -------------------------------------------------- mult-add-3
|
||||
#? 9 text {'new_name': 'x', 'until_column': 13}
|
||||
z = (y+1*2+3)
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#? 9 text {'new_name': 'x', 'until_column': 13}
|
||||
x = (y+1*2+3)
|
||||
z = x
|
||||
|
||||
Reference in New Issue
Block a user