forked from VimPlug/jedi
Generate the expression_list of a statement in any case.
This is a consequence of being able to have Calls as parents of Names. Otherwise we would have changing Name.parent values.
This commit is contained in:
@@ -922,6 +922,9 @@ class Statement(Simple, DocstringMixin):
|
||||
|
||||
# cache
|
||||
self._assignment_details = []
|
||||
# For now just generate the expression list, even if its not needed.
|
||||
# This will help to adapt a better new AST.
|
||||
self.expression_list()
|
||||
|
||||
@property
|
||||
def end_pos(self):
|
||||
|
||||
Reference in New Issue
Block a user