1
0
forked from VimPlug/jedi

Small issue with dynamic params.

This commit is contained in:
Dave Halter
2014-11-20 00:25:03 +01:00
parent e6364fdd8b
commit b5418d9d73

View File

@@ -93,7 +93,7 @@ def search_params(evaluator, param):
# At the same time we also have to remove InstanceElements.
undec = [escope.decorates or
(escope.var if isinstance(escope, er.InstanceElement) else escope)
for escope in types if escope.isinstance(er.Function, er.Class)]
for escope in types if escope.isinstance(er.Function, er.Instance)]
if er.wrap(evaluator, compare) in undec:
# Only if we have the correct function we execute
# it, otherwise just ignore it.