Move execute_evaluated to HelperContextMixin

This commit is contained in:
Dave Halter committed 2019-06-11 17:46:30 +02:00
1 parent f672d3329a
commit 78973a9f35
8 files changed
+13 -27

No files matched your search

+1 -1
View File
@@ -389,7 +389,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 = compiled.builtin_from_name(evaluator, typ.name.string_name)
new_result |= helpers.execute_evaluated(cls)
new_result |= cls.execute_evaluated()
else:
new_result |= ContextSet([typ])
return new_result