1
0
forked from VimPlug/jedi

get rid of is_list_comp boolean in favor of a direct check of ListComprehensionFlow

This commit is contained in:
Dave Halter
2014-06-09 20:19:31 +02:00
parent dd8e4341db
commit 0b926ca454
7 changed files with 17 additions and 21 deletions

View File

@@ -260,7 +260,7 @@ class Script(object):
if not is_completion:
# goto_definition returns definitions of its statements if the
# cursor is on the assignee. By changing the start_pos of our
# "pseud" statement, the Jedi evaluator can find the assignees.
# "pseudo" statement, the Jedi evaluator can find the assignees.
if user_stmt is not None:
eval_stmt.start_pos = user_stmt.end_pos
scopes = self._evaluator.eval_statement(eval_stmt)