File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -3152,13 +3152,6 @@ def visit_block(self, b: Block) -> None:
31523152 self .binder .unreachable ()
31533153 return
31543154 for s in b .body :
3155- # If we export types, we need to continue checking to make sure all
3156- # expressions are present in type map (even if most have type Any).
3157- if self .current_node_deferred and not self .options .export_types :
3158- # With current deferral logic there is no point continuing to
3159- # type-check current function, as we will not infer more types,
3160- # will not show errors, and each expression is inferred as Any.
3161- return
31623155 if self .binder .is_unreachable ():
31633156 if not self .should_report_unreachable_issues ():
31643157 break
@@ -4830,7 +4823,6 @@ def check_simple_assignment(
48304823 and inferred is not None
48314824 and inferred .type is not None
48324825 and not inferred .is_final
4833- and not self .current_node_deferred
48344826 ):
48354827 new_inferred = remove_instance_last_known_values (rvalue_type )
48364828 # Should we widen the inferred type or the lvalue? Variables defined
You can’t perform that action at this time.
0 commit comments