1
0
forked from VimPlug/jedi

The parser_cache contents have changed. Therefore adapt.

This commit is contained in:
Dave Halter
2017-05-26 12:52:52 -04:00
parent 35e248091e
commit 76529ca34d
2 changed files with 4 additions and 3 deletions

View File

@@ -389,7 +389,7 @@ class BaseDefinition(object):
return ''
path = self._name.get_root_context().py__file__()
lines = parser_cache[path].lines
lines = parser_cache[self._evaluator.grammar._hashed][path].lines
line_nr = self._name.start_pos[0]
start_line_nr = line_nr - before