forked from VimPlug/jedi
simplified flowscope stuff again
This commit is contained in:
@@ -241,11 +241,6 @@ class NameFinder(object):
|
|||||||
if n:
|
if n:
|
||||||
result = n
|
result = n
|
||||||
break
|
break
|
||||||
|
|
||||||
if result:
|
|
||||||
break
|
|
||||||
if flow_scope == nscope:
|
|
||||||
break
|
|
||||||
flow_scope = flow_scope.parent
|
flow_scope = flow_scope.parent
|
||||||
|
|
||||||
if not result and isinstance(nscope, er.Instance):
|
if not result and isinstance(nscope, er.Instance):
|
||||||
|
|||||||
Reference in New Issue
Block a user