forked from VimPlug/jedi
Fix assert issues in combination with comprehensions.
This commit is contained in:
@@ -1322,3 +1322,8 @@ class CompFor(Simple):
|
|||||||
|
|
||||||
def scope_names_generator(self, position):
|
def scope_names_generator(self, position):
|
||||||
yield self, []
|
yield self, []
|
||||||
|
|
||||||
|
@property
|
||||||
|
def asserts(self):
|
||||||
|
"""Since it's a scope, it can be asked for asserts."""
|
||||||
|
return []
|
||||||
|
|||||||
Reference in New Issue
Block a user