1
0
forked from VimPlug/jedi

Fix all call signature tests.

This commit is contained in:
Dave Halter
2016-06-17 17:03:34 +02:00
parent 32346c6da8
commit 7ddc9c9c78
4 changed files with 44 additions and 22 deletions

View File

@@ -291,14 +291,14 @@ class Script(object):
# self.source, self._pos)
definitions = helpers.evaluate_goto_definition(
self._evaluator,
call_signature_details.leaf
call_signature_details.bracket_leaf.get_previous_leaf()
)
debug.speed('func_call followed')
return [classes.CallSignature(self._evaluator, d.name,
call_signature_details.leaf.start_pos,
call_signature_details.bracket_leaf.start_pos,
call_signature_details.call_index,
call_signature_details.keyword_name)
call_signature_details.keyword_name_str)
for d in definitions if hasattr(d, 'py__call__')]
def _analysis(self):