1
0
forked from VimPlug/jedi

Fix param position lookups. Also forward annotations have the correct resolution path now (starting at the end of the file).

This commit is contained in:
Dave Halter
2015-12-22 11:25:32 +01:00
parent ac294244cf
commit 936cef97e9
4 changed files with 28 additions and 4 deletions
+3 -1
View File
@@ -37,7 +37,9 @@ def _evaluate_for_annotation(evaluator, annotation):
if element is None:
debug.warning('Annotation not parsed: %s' % definition.obj)
else:
element.parent = annotation.parent
module = annotation.get_parent_until()
p.position_modifier.line = module.end_pos[0]
element.parent = module
definitions |= evaluator.eval_element(element)
else:
definitions.add(definition)