forked from VimPlug/jedi
fix Param calling in API
This commit is contained in:
@@ -491,7 +491,7 @@ class Script(object):
|
||||
origins = cache.cache_call_signatures(_callable, user_stmt)
|
||||
debug.speed('func_call followed')
|
||||
|
||||
return [classes.CallDef(o, index, call) for o in origins
|
||||
return [classes.CallDef(self._evaluator, o, index, call) for o in origins
|
||||
if o.isinstance(er.Function, er.Instance, er.Class)
|
||||
or isinstance(o, compiled.CompiledObject) and o.type() != 'module']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user