forked from VimPlug/jedi
test for recurring use of variable name with gotos, #315
This commit is contained in:
@@ -91,6 +91,11 @@ ClassVar.x = ''
|
|||||||
#! 12 ['x = 3']
|
#! 12 ['x = 3']
|
||||||
ClassVar().x = ''
|
ClassVar().x = ''
|
||||||
|
|
||||||
|
# Recurring use of the same var name, github #315
|
||||||
|
def f(t=None):
|
||||||
|
#! 9 ['t=None']
|
||||||
|
t = t or 1
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# imports
|
# imports
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user