1
0
forked from VimPlug/jedi

Fixed all generator tests.

This commit is contained in:
Dave Halter
2016-11-14 20:57:46 +01:00
parent 65d3e29146
commit 03aa630932
5 changed files with 83 additions and 67 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ def literals_to_types(evaluator, result):
# Literals are only valid as long as the operations are
# correct. Otherwise add a value-free instance.
cls = builtin_from_name(evaluator, typ.name.string_name)
new_result |= evaluator.execute(cls)
new_result |= cls.execute_evaluated([])
else:
new_result.add(typ)
return new_result