1
0
forked from VimPlug/jedi

Better debugging

This commit is contained in:
Dave Halter
2019-06-10 03:19:32 +02:00
parent d4cccd452d
commit abba305f64
2 changed files with 5 additions and 6 deletions

View File

@@ -381,10 +381,7 @@ class Evaluator(object):
if node_type == 'trailer' and par.children[0] == '.':
values = helpers.evaluate_call_of_leaf(context, name, cut_own_trailer=True)
return unite(
value.py__getattribute__(name, name_context=context, is_goto=True)
for value in values
)
return values.py__getattribute__(name, name_context=context, is_goto=True)
else:
stmt = tree.search_ancestor(
name, 'expr_stmt', 'lambdef'