forked from VimPlug/jedi
Make goto work with await
Created together with @langsamer and @davidhalter
This commit is contained in:
@@ -249,6 +249,8 @@ class Evaluator(object):
|
||||
else:
|
||||
i = trailer.parent.children.index(trailer)
|
||||
to_evaluate = trailer.parent.children[:i]
|
||||
if to_evaluate[0] == 'await':
|
||||
to_evaluate.pop(0)
|
||||
context_set = context.eval_node(to_evaluate[0])
|
||||
for trailer in to_evaluate[1:]:
|
||||
context_set = eval_trailer(context, context_set, trailer)
|
||||
|
||||
Reference in New Issue
Block a user