forked from VimPlug/jedi
remove wrong caching of the parser
This commit is contained in:
@@ -144,7 +144,6 @@ class CachedFastParser(type):
|
|||||||
if pi is None or isinstance(pi.parser, parsing.PyFuzzyParser):
|
if pi is None or isinstance(pi.parser, parsing.PyFuzzyParser):
|
||||||
p = super(CachedFastParser, self).__call__(source, module_path,
|
p = super(CachedFastParser, self).__call__(source, module_path,
|
||||||
user_position)
|
user_position)
|
||||||
cache.parser_cache[module_path] = p
|
|
||||||
else:
|
else:
|
||||||
p = pi.parser # pi is a `cache.ParserCacheItem`
|
p = pi.parser # pi is a `cache.ParserCacheItem`
|
||||||
p.update(source, user_position)
|
p.update(source, user_position)
|
||||||
|
|||||||
Reference in New Issue
Block a user