1
0
forked from VimPlug/jedi

Fix: flow analysis crashed when using in combination with different modules.

This commit is contained in:
Dave Halter
2015-12-17 12:37:26 +01:00
parent 3d79d0994e
commit 54b1b2be74
4 changed files with 28 additions and 2 deletions

View File

@@ -238,3 +238,20 @@ else:
s = str()
#? str()
possible_recursion_error(s)
# -----------------
# In combination with imports
# -----------------
from import_tree import flow_import
if 1 == flow_import.env:
a = 1
elif 2 == flow_import.env:
a = ''
elif 3 == flow_import.env:
a = 1.0
#? int() str()
a