forked from VimPlug/jedi
Fix all remaining issues from the compiled refactoring except static analysis.
This commit is contained in:
@@ -404,7 +404,7 @@ class FakeSequence(_FakeArray):
|
||||
|
||||
class AlreadyEvaluated(frozenset):
|
||||
"""A simple container to add already evaluated objects to an array."""
|
||||
def get_code(self):
|
||||
def get_code(self, normalized=False):
|
||||
# For debugging purposes.
|
||||
return str(self)
|
||||
|
||||
@@ -523,6 +523,7 @@ def py__getitem__(evaluator, types, index, node):
|
||||
if isinstance(typ, Array) and typ.type == 'dict':
|
||||
types.remove(typ)
|
||||
result |= typ.dict_values()
|
||||
print('ITER', types, py__iter__types(evaluator, types))
|
||||
return result | py__iter__types(evaluator, types)
|
||||
|
||||
for typ in types:
|
||||
|
||||
Reference in New Issue
Block a user