1
0
forked from VimPlug/jedi

Parser error recovery simplified. Just fall back to scopes, if somethings wrong.

This commit is contained in:
Dave Halter
2014-11-04 09:40:32 +01:00
parent 8c775e0a18
commit c6c2768dda
2 changed files with 13 additions and 23 deletions
+1
View File
@@ -73,6 +73,7 @@ class NameFinder(object):
names = scope.names_dict[str(self.name_str)]
except KeyError:
return []
names = [name for name in names if name.is_definition()]
names = pr.filter_after_position(names, position)