diff --git a/mypy/build.py b/mypy/build.py
--- a/mypy/build.py
+++ b/mypy/build.py
@@ -48,7 +48,7 @@
 from mypy.errors import CompileError, ErrorInfo, Errors, report_internal_error
 from mypy.indirection import TypeIndirectionVisitor
 from mypy.messages import MessageBuilder
-from mypy.nodes import Import, ImportAll, ImportBase, ImportFrom, MypyFile, SymbolTable
+from mypy.nodes import Import, ImportAll, ImportBase, ImportFrom, MypyFile, SymbolTable, TypeInfo
 from mypy.partially_defined import PartiallyDefinedVariableVisitor
 from mypy.semanal import SemanticAnalyzer
 from mypy.semanal_pass1 import SemanticAnalyzerPreAnalysis
@@ -2363,7 +2363,24 @@ def finish_passes(self) -> None:
 
             # We should always patch indirect dependencies, even in full (non-incremental) builds,
             # because the cache still may be written, and it must be correct.
-            self._patch_indirect_dependencies(self.type_checker().module_refs, self.type_map())
+            # TODO: find a more robust way to traverse *all* relevant types?
+            expr_types = set(self.type_map().values())
+            symbol_types = set()
+            for _, sym, _ in self.tree.local_definitions():
+                if sym.type is not None:
+                    symbol_types.add(sym.type)
+                if isinstance(sym.node, TypeInfo):
+                    # TypeInfo symbols have some extra relevant types.
+                    symbol_types.update(sym.node.bases)
+                    if sym.node.metaclass_type:
+                        symbol_types.add(sym.node.metaclass_type)
+                    if sym.node.typeddict_type:
+                        symbol_types.add(sym.node.typeddict_type)
+                    if sym.node.tuple_type:
+                        symbol_types.add(sym.node.tuple_type)
+            self._patch_indirect_dependencies(
+                self.type_checker().module_refs, expr_types | symbol_types
+            )
 
             if self.options.dump_inference_stats:
                 dump_type_stats(
@@ -2386,10 +2403,7 @@ def free_state(self) -> None:
             self._type_checker.reset()
             self._type_checker = None
 
-    def _patch_indirect_dependencies(
-        self, module_refs: set[str], type_map: dict[Expression, Type]
-    ) -> None:
-        types = set(type_map.values())
+    def _patch_indirect_dependencies(self, module_refs: set[str], types: set[Type]) -> None:
         assert None not in types
         valid = self.valid_references()
 

diff --git a/test-data/unit/check-incremental.test b/test-data/unit/check-incremental.test
--- a/test-data/unit/check-incremental.test
+++ b/test-data/unit/check-incremental.test
@@ -6081,3 +6081,207 @@ class Base:
 [out]
 [out2]
 main:6: error: Call to abstract method "meth" of "Base" with trivial body via super() is unsafe
+
+[case testNoCrashDoubleReexportFunctionEmpty]
+import m
+
+[file m.py]
+import f
+[file m.py.3]
+import f
+# modify
+
+[file f.py]
+import c
+def foo(arg: c.C) -> None: pass
+
+[file c.py]
+from types import C
+
+[file types.py]
+import pb1
+C = pb1.C
+[file types.py.2]
+import pb1, pb2
+C = pb2.C
+
+[file pb1.py]
+class C: ...
+[file pb2.py.2]
+class C: ...
+[file pb1.py.2]
+[out]
+[out2]
+[out3]
+
+[case testNoCrashDoubleReexportBaseEmpty]
+import m
+
+[file m.py]
+import f
+[file m.py.3]
+import f
+# modify
+
+[file f.py]
+import c
+class D(c.C): pass
+
+[file c.py]
+from types import C
+
+[file types.py]
+import pb1
+C = pb1.C
+[file types.py.2]
+import pb1, pb2
+C = pb2.C
+
+[file pb1.py]
+class C: ...
+[file pb2.py.2]
+class C: ...
+[file pb1.py.2]
+[out]
+[out2]
+[out3]
+
+[case testNoCrashDoubleReexportMetaEmpty]
+import m
+
+[file m.py]
+import f
+[file m.py.3]
+import f
+# modify
+
+[file f.py]
+import c
+class D(metaclass=c.C): pass
+
+[file c.py]
+from types import C
+
+[file types.py]
+import pb1
+C = pb1.C
+[file types.py.2]
+import pb1, pb2
+C = pb2.C
+
+[file pb1.py]
+class C(type): ...
+[file pb2.py.2]
+class C(type): ...
+[file pb1.py.2]
+[out]
+[out2]
+[out3]
+
+[case testNoCrashDoubleReexportTypedDictEmpty]
+import m
+
+[file m.py]
+import f
+[file m.py.3]
+import f
+# modify
+
+[file f.py]
+from typing_extensions import TypedDict
+import c
+class D(TypedDict):
+    x: c.C
+
+[file c.py]
+from types import C
+
+[file types.py]
+import pb1
+C = pb1.C
+[file types.py.2]
+import pb1, pb2
+C = pb2.C
+
+[file pb1.py]
+class C: ...
+[file pb2.py.2]
+class C: ...
+[file pb1.py.2]
+[builtins fixtures/dict.pyi]
+[out]
+[out2]
+[out3]
+
+[case testNoCrashDoubleReexportTupleEmpty]
+import m
+
+[file m.py]
+import f
+[file m.py.3]
+import f
+# modify
+
+[file f.py]
+from typing import Tuple
+import c
+class D(Tuple[c.C, int]): pass
+
+[file c.py]
+from types import C
+
+[file types.py]
+import pb1
+C = pb1.C
+[file types.py.2]
+import pb1, pb2
+C = pb2.C
+
+[file pb1.py]
+class C: ...
+[file pb2.py.2]
+class C: ...
+[file pb1.py.2]
+[builtins fixtures/tuple.pyi]
+[out]
+[out2]
+[out3]
+
+[case testNoCrashDoubleReexportOverloadEmpty]
+import m
+
+[file m.py]
+import f
+[file m.py.3]
+import f
+# modify
+
+[file f.py]
+from typing import Any, overload
+import c
+
+@overload
+def foo(arg: int) -> None: ...
+@overload
+def foo(arg: c.C) -> None: ...
+def foo(arg: Any) -> None:
+    pass
+
+[file c.py]
+from types import C
+
+[file types.py]
+import pb1
+C = pb1.C
+[file types.py.2]
+import pb1, pb2
+C = pb2.C
+
+[file pb1.py]
+class C: ...
+[file pb2.py.2]
+class C: ...
+[file pb1.py.2]
+[out]
+[out2]
+[out3]

Incremental crash with double re-exported alias used in function annotation
Here is a (relatively) minimal repro:
```
[case testOidCrash]
import m

[file m.py]
import f
[file m.py.3]
import f
# modify

[file f.py]
import c
def foo(arg: c.Oid) -> None: pass

[file c.py]
from types import Oid

[file types.py]
import pb1
Oid = pb1.Oid
[file types.py.2]
import pb1, pb2
Oid = pb2.Oid

[file pb1.py]
class Oid: ...
[file pb2.py.2]
class Oid: ...
[file pb1.py.2]

[out]
[out2]
[out3]
```
This crashes with
```
/home/ivan/src/mypy/mypy/test/testcheck.py:81: in run_case
    self.run_case_once(testcase, ops, step)
/home/ivan/src/mypy/mypy/test/testcheck.py:147: in run_case_once
    res = build.build(sources=sources, options=options, alt_lib_path=test_temp_dir)
/home/ivan/src/mypy/mypy/build.py:193: in build
    result = _build(
/home/ivan/src/mypy/mypy/build.py:276: in _build
    graph = dispatch(sources, manager, stdout)
/home/ivan/src/mypy/mypy/build.py:2891: in dispatch
    process_graph(graph, manager)
/home/ivan/src/mypy/mypy/build.py:3268: in process_graph
    process_fresh_modules(graph, prev_scc, manager)
/home/ivan/src/mypy/mypy/build.py:3349: in process_fresh_modules
    graph[id].fix_cross_refs()
/home/ivan/src/mypy/mypy/build.py:2112: in fix_cross_refs
    fixup_module(self.tree, self.manager.modules, self.options.use_fine_grained_cache)
/home/ivan/src/mypy/mypy/fixup.py:53: in fixup_module
    node_fixer.visit_symbol_table(tree.names, tree.fullname)
/home/ivan/src/mypy/mypy/fixup.py:127: in visit_symbol_table
    value.node.accept(self)
/home/ivan/src/mypy/mypy/nodes.py:822: in accept
    return visitor.visit_func_def(self)
/home/ivan/src/mypy/mypy/fixup.py:135: in visit_func_def
    func.type.accept(self.type_fixer)
/home/ivan/src/mypy/mypy/types.py:1792: in accept
    return visitor.visit_callable_type(self)
/home/ivan/src/mypy/mypy/fixup.py:229: in visit_callable_type
    argt.accept(self)
/home/ivan/src/mypy/mypy/types.py:1283: in accept
    return visitor.visit_instance(self)
/home/ivan/src/mypy/mypy/fixup.py:196: in visit_instance
    inst.type = lookup_fully_qualified_typeinfo(
/home/ivan/src/mypy/mypy/fixup.py:331: in lookup_fully_qualified_typeinfo
    stnode = lookup_fully_qualified(name, modules, raise_on_missing=not allow_missing)
/home/ivan/src/mypy/mypy/lookup.py:49: in lookup_fully_qualified
    assert key in names, f"Cannot find component {key!r} for {name!r}"
AssertionError: Cannot find component 'Oid' for 'pb1.Oid'
```
The problem is that `TypeIndirectionVisitor` uses `type_map` for a given module to find indirect dependencies. This is however problematic in various cases, for example types used in a function definition may never appear as a type of some expression (type map of `f.py` in this case is just empty). I am not sure what is the best solution (for example fine-grained mode doesn't have this problem as it uses a proper node visitor). Maybe we can just add all types encountered in symbol tables?

cc @JukkaL @Michael0x2a 

mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalEmpty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleImport mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithSilentImportsAndIgnore mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedBrokenCascadeWithType1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBasics mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleWithAttr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalRemoteError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedSubmoduleImportFromWithAttr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedBrokenCascadeWithType2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalRemoteErrorFixed mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSimpleImportSequence mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedSubmoduleWithAttr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangedError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInternalChangeOnly mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalRemoteChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleParentWithImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalImportGone mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalReplacingImports mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBadChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleParentBackreference mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangingAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBadChangeWithSave mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalCallable mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleParentBackreferenceComplex mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalStoresAliasTypeVars mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSameNameChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalOkChangeWithSave mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalReferenceNewFileWithImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilentImportsWithBlatantError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalPartialInterfaceChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalReferenceExistingFileWithImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalImportIsNewlySilenced mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithComplexDictExpression mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInternalFunctionDefinitionChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithTypeIgnoreOnDirectImport mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilencedModuleNoLongerCausesError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithComplexConstantExpressionNoAnnotation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInternalScramble mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithTypeIgnoreOnImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithComplexConstantExpressionWithAnnotation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalMethodInterfaceChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFixedBugCausesPropagation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithPartialTypeIgnore mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBaseClassChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSmall mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalAnyIsDifferentFromIgnore mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalIncidentalChangeWithBugCausesPropagation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilentImportsAndImportsInClass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalCascadingChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithDecorators mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalIncidentalChangeWithBugFixCausesPropagation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSameFileSize mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilentImportsWithInnerImports mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangingClassAttributes mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBrokenCascade mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalUnsilencingModule mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilentImportsWithInnerImportsAndNewFile mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangingFields mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithIgnores mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalLongBrokenCascade mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorksWithNestedClasses mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangingFieldsWithAssignment mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamedTupleInMethod2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorksWithBasicProtocols mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedBrokenCascade mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalCheckingChangingFields mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCachingClassVar mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamedTupleInMethod3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedClassDefinition mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSwitchFromNominalToStructural mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSimpleBranchingModules mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSwitchFromStructuralToNominal mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeTypedDict mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalTypedDictInMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeMetaclass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCacheDeletedAfterErrorsFound3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorksWithNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeMetaclassInImportCycle1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalTypedDictInMethod2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCacheDeletedAfterErrorsFound4 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorksWithNestedNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashOnDeletedWithCacheOnCmdline mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeMetaclassInImportCycle2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalPartialSubmoduleUpdate mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeAbstractPropertyIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeleteFile mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalTypedDictInMethod3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedClassRef mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeAbstractPropertyDisallowUntypedIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalLoadsParentAfterChild mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeleteFileWithinCycle mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testClassNamesResolutionCrashAccess mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBaseClassAttributeConflict mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testThreePassesBasic mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testClassNamesResolutionCrashReadCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsSilent mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNewTypeInMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testClassNamesResolutionCrashReveal mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testThreePassesErrorInThirdPass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsSkip mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInnerClassAttrInMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithSilentImports mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testThreePassesThirdPassFixesError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInnerClassAttrInMethodReveal mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testForwardNamedTupleToUnionWithOtherNamedTUple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCacheDeletedAfterErrorsFound mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashForwardRefToBrokenDoubleNewTypeIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericMethodRestoreMetaLevel mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsVariable mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashForwardRefOverloadIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCacheDeletedAfterErrorsFound2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericMethodRestoreMetaLevel2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsVariablePyProjectTOML mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashForwardRefOverloadIncrementalClass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericMethodRestoreMetaLevel3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewTypeFromForwardNamedTupleIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalPerFileFlags mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamedTupleInMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDisallowAnyExprIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalClassVar mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental4 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalClassVarGone mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewTypeFromForwardTypedDictIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalStrictOptional mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental5 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testForwardTypeAliasInBase1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassingCached mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testForwardTypeAliasInBase2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalConverterInSubmodule mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCrashWithPartialGlobalAndCycle mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeRecursiveAliases1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalCrashOnTypeWithFunction mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeRecursiveAliases2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassingCachedConverter mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeRecursiveAliases3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testReprocessModuleEvenIfInterfaceHashDoesNotChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericTypeAliasesForwardAnyIncremental1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testTreeShadowingViaParentPackage mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalConverterManyStyles mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericTypeAliasesForwardAnyIncremental2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testErrorsAffectDependentsOnly mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNamedTupleForwardAsUpperBoundSerialization mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassingCachedType mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInheritanceProperty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testRegularUsesFgCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalConverterInFunction mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalArguments mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithIgnoresTwice mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFgCacheNeedsFgCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalThreeRuns mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalPackageNameOverload mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeletedDepLineNumber mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalDunder mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFineGrainedCacheError1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIgnoredImport2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInheritanceAddAnnotation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeletionOfSubmoduleTriggersImportFrom2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalMetaclassUpdate mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassModified mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBustedFineGrainedCache1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeleteIndirectDependency mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalLotsOfInheritance mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testImportReExportInCycle mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesSubclassingCached mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassModifiedErrorFirst mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBustedFineGrainedCache2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testImportUnusedIgnore1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesSubclassingCachedType mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testImportUnusedIgnore2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBustedFineGrainedCache3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalThreeFiles mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testModuleGetattrIncrementalSerializeVarFlag mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorkingFineGrainedCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsIgnore mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesArguments mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubs mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsIgnorePackage mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesThreeRuns mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsPackage mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsIgnorePackageFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesDunder mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsPackageFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testParentPatchingMess mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsIgnorePackagePartial mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsPackagePartial mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesSubclassModified mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFinalAddFinalVarAssign mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsPackagePartialGetAttr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFinalAddFinalVarOverride mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesSubclassModifiedErrorFirst mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarClass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCachedBadProtocolNote mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFinalAddFinalMethodOverride mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarClassAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIndirectDepsAlwaysPatched mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesThreeFiles mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVar mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarExisting mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarLocal mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testModuleGetattrInitIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarAliasExisting mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipInvalidatedOnAddedStub mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testRecursiveAliasImported mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testModuleGetattrInitIncremental2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadFunction mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipNotInvalidatedOnAddedStubOnFollowForStubs mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipNotInvalidatedOnPresent mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAliasGeneric mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipNotInvalidatedOnPresentPackage mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedSkippedStubsPackageFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testBadEnumLoading mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAliasImported mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipNotInvalidatedOnAdded mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAliasImportedReversed mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testChangedPluginsInvalidateCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAliasReversed mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testRemovedPluginsInvalidateCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testConditionalExceptionAliasOverride mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testChangedPluginsInvalidateCache2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testPluginConfigData mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewAnalyzerIncrementalBrokenNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewAnalyzerIncrementalNestedEnum mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewAnalyzerIncrementalBrokenNamedTupleNested mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedPluginsInvalidateCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testLiteralIncrementalTurningIntoLiteral mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCannotDetermineTypeFromOtherModule mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalNoChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedSubStarImport mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testRedefinitionClass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewAnalyzerIncrementalMethodNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalNoChangeSameName mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalIsInstanceChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNodeCreatedFromGetattr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalUnreachaableToIntersection mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalNoChangeTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalUnderlyingObjChang mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testStubFixupIssues mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalIndirectSkipWarnUnused mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedTypeAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamespacePackage2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalIntersectionToUnreachable mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamespacePackage1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testExplicitReexportImportCycleWildcard mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testEnumAreStillFinalAfterCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testMethodAliasIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSlotsSerialization mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInvalidNamedTupleInUnannotatedFunction mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithDifferentKindsOfNestedTypesWithinMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testTupleTypeUpdateNonRecursiveToRecursiveCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNamedTupleUpdateNonRecursiveToRecursiveCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalAddClassMethodPlugin mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericNamedTupleSerialization mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDisableEnableErrorCodesIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testTypedDictUpdateNonRecursiveToRecursiveCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testModuleAsProtocolImplementationSerialize mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAbstractBodyTurnsEmptyCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericTypedDictSerialization mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testTypeAliasUpdateNonRecursiveToRecursiveCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testUnpackKwargsSerialize
mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashDoubleReexportBaseEmpty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashDoubleReexportFunctionEmpty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashDoubleReexportMetaEmpty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashDoubleReexportTupleEmpty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashDoubleReexportTypedDictEmpty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashDoubleReexportOverloadEmpty