forked from VimPlug/jedi
Define generics from a different function
This commit is contained in:
@@ -279,8 +279,7 @@ class TreeInstance(AbstractInstanceContext):
|
||||
continue
|
||||
|
||||
all_annotations = pep0484.py__annotations__(execution.tree_node)
|
||||
defined = pep0484.define_type_vars(
|
||||
self.class_context,
|
||||
defined = self.class_context.define_generics(
|
||||
pep0484.infer_type_vars_for_execution(execution, all_annotations),
|
||||
)
|
||||
debug.dbg('Inferred instance context as %s', defined, color='BLUE')
|
||||
|
||||
Reference in New Issue
Block a user