1
0
forked from VimPlug/jedi

call_signatures caching should be much more precise, now. fixes #390

This commit is contained in:
Dave Halter
2014-04-09 12:26:37 +02:00
parent d2dc39e0c2
commit 46277eb9c9
3 changed files with 36 additions and 4 deletions

View File

@@ -550,7 +550,9 @@ class Script(object):
with common.scale_speed_settings(settings.scale_call_signatures):
_callable = lambda: self._evaluator.eval_call(call)
origins = cache.cache_call_signatures(_callable, user_stmt)
origins = cache.cache_call_signatures(_callable, self.source,
self._pos, user_stmt)
origins = self._evaluator.eval_call(call)
debug.speed('func_call followed')
return [classes.CallSignature(self._evaluator, o, call, index)