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

This commit is contained in:
Dave Halter committed 2015-11-25 06:58:34 +01:00
1 parent 8dee92bcc5
commit 59e4f567a2
2 files changed
+8 -1

No files matched your search

+1 -1
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)