1
0
forked from VimPlug/jedi

Create a failing test for an issue probably with the parser.

This commit is contained in:
Dave Halter
2015-11-25 06:58:09 +01:00
parent 8dee92bcc5
commit 59e4f567a2
2 changed files with 8 additions and 1 deletions

View File

@@ -553,7 +553,7 @@ def check_tuple_assignments(types, name):
debug.warning("Invalid tuple lookup #%s of result %s in %s",
index, types, name)
else:
if r.type == 'dict':
if isinstance(r, iterable.Array) and r.type == 'dict':
continue
try:
new_types |= func(index)