filter all non executables when used with call_signatures, fixes #240
This commit is contained in:
1 parent
a79148925d
commit
2ea2a8c6cd
2 files changed
+9
-1
No files matched your search
+2
-1
@@ -467,7 +467,8 @@ class Script(object):
|
||||
origins = cache.cache_function_definition(_callable, user_stmt)
|
||||
debug.speed('func_call followed')
|
||||
|
||||
return [api_classes.CallDef(o, index, call) for o in origins]
|
||||
return [api_classes.CallDef(o, index, call) for o in origins
|
||||
if o.isinstance(er.Function, er.Instance, er.Class)]
|
||||
|
||||
def _func_call_and_param_index(self):
|
||||
debug.speed('func_call start')
|
||||
|
||||
Reference in new issue
Block a user