fix Param calling in API

This commit is contained in:
Dave Halter committed 2014-03-13 11:27:53 +01:00
1 parent a835fcd0ce
commit f132dd852d
2 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -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']