Fix another execute issue.

This commit is contained in:
Dave Halter committed 2016-10-25 18:17:07 +02:00
1 parent 90af0c36e0
commit bcaf06399f
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -23,9 +23,10 @@ class Context(object):
Execute a function with already executed arguments.
"""
from jedi.evaluate.iterable import AlreadyEvaluated
from jedi.evaluate.param import Arguments
# TODO UGLY
args = [AlreadyEvaluated([arg]) for arg in args]
return self.execute(args)
return self.execute(Arguments(self._evaluator, self, args))
class TreeContext(Context):