Fix stub function inferrals
This commit is contained in:
1 parent
6f41530a03
commit
ec7b6b8d80
5 files changed
+65
-27
No files matched your search
@@ -283,7 +283,7 @@ class TreeInstance(AbstractInstanceContext):
|
||||
continue
|
||||
|
||||
all_annotations = py__annotations__(execution.tree_node)
|
||||
defined = self.class_context.define_generics(
|
||||
defined, = self.class_context.define_generics(
|
||||
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