diff --git a/mypy/fastparse.py b/mypy/fastparse.py
--- a/mypy/fastparse.py
+++ b/mypy/fastparse.py
@@ -486,6 +486,7 @@ def fix_function_overloads(self, stmts: List[Statement]) -> List[Statement]:
         ret: List[Statement] = []
         current_overload: List[OverloadPart] = []
         current_overload_name: Optional[str] = None
+        seen_unconditional_func_def = False
         last_if_stmt: Optional[IfStmt] = None
         last_if_overload: Optional[Union[Decorator, FuncDef, OverloadedFuncDef]] = None
         last_if_stmt_overload_name: Optional[str] = None
@@ -498,6 +499,7 @@ def fix_function_overloads(self, stmts: List[Statement]) -> List[Statement]:
             if (
                 isinstance(stmt, IfStmt)
                 and len(stmt.body[0].body) == 1
+                and seen_unconditional_func_def is False
                 and (
                     isinstance(stmt.body[0].body[0], (Decorator, OverloadedFuncDef))
                     or current_overload_name is not None
@@ -527,6 +529,8 @@ def fix_function_overloads(self, stmts: List[Statement]) -> List[Statement]:
                     self.fail_merge_overload(last_if_unknown_truth_value)
                     last_if_unknown_truth_value = None
                 current_overload.append(stmt)
+                if isinstance(stmt, FuncDef):
+                    seen_unconditional_func_def = True
             elif (
                 current_overload_name is not None
                 and isinstance(stmt, IfStmt)
@@ -583,6 +587,7 @@ def fix_function_overloads(self, stmts: List[Statement]) -> List[Statement]:
                 # most of mypy/mypyc assumes that all the functions in an OverloadedFuncDef are
                 # related, but multiple underscore functions next to each other aren't necessarily
                 # related
+                seen_unconditional_func_def = False
                 if isinstance(stmt, Decorator) and not unnamed_function(stmt.name):
                     current_overload = [stmt]
                     current_overload_name = stmt.name

diff --git a/test-data/unit/check-overloading.test b/test-data/unit/check-overloading.test
--- a/test-data/unit/check-overloading.test
+++ b/test-data/unit/check-overloading.test
@@ -6302,3 +6302,29 @@ if True:
     def f12(x): ...
 reveal_type(f12(A()))  # N: Revealed type is "__main__.A"
 [typing fixtures/typing-medium.pyi]
+
+[case testOverloadIfUnconditionalFuncDef]
+# flags: --always-true True --always-false False
+from typing import overload
+
+class A: ...
+class B: ...
+
+# -----
+# Don't merge conditional FuncDef after unconditional one
+# -----
+
+@overload
+def f1(x: A) -> A: ...
+@overload
+def f1(x: B) -> B: ...
+def f1(x): ...
+
+@overload
+def f2(x: A) -> A: ...
+if True:
+    @overload
+    def f2(x: B) -> B: ...
+def f2(x): ...
+if True:
+    def f2(x): ...  # E: Name "f2" already defined on line 17

0.940: Condition can't be inferred, unable to merge overloads
**Bug Report**
This might be an issue with beartype, it has been reported there https://github.com/beartype/beartype/issues/112. Since mypy reports an overload error at a line that has no overloads, it might be a mypy error (edit: there are overloads around).

**To Reproduce**

```py
from beartype import beartype

@beartype
def test(x: int) -> int:
    return x
```

> /home/twoertwe/.cache/pypoetry/virtualenvs/python-tools-sgDWaTGJ-py3.10/lib/python3.10/site-packages/beartype/_decor/main.py:294: error: Condition can't be inferred, unable to merge overloads [misc]

The line in question is here:
https://github.com/beartype/beartype/blob/main/beartype/_decor/main.py#L294

**Expected Behavior**
Either no error or a better indication at which line the error occurs.

**Your Environment**

- Mypy version used: 0.940
- Mypy command-line flags: - 
- Mypy configuration options from `mypy.ini` (and other config files): - 
- Python version used: 3.10.2
- Operating system and version: Ubuntu

<!--
You can freely edit this text, please remove all the lines
you believe are unnecessary.
-->


Thanks for the message. I'll take a look
mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testCovariantOverlappingOverloadSignaturesWithAnyType mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadNotImportedNoCrash mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithImplTypeVarProblems mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedGetitem mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testContravariantOverlappingOverloadSignaturesWithAnyType mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithImplementation mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadNeedsImplementation mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedLtAndGtMethods mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedGetitemWithGenerics mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadImplementationTypeVarWithValueRestriction mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testSingleOverloadNoImplementation mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedForwardMethodAndCallingReverseMethod mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testImplementingOverloadedMethod mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadImplementationTypeVarDifferingUsage1 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadByAnyOtherName mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithFunctionType mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverrideOverloadSwapped mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithDecoratedImplementation mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testVarArgsOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverrideOverloadSwappedWithExtraVariants mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadImplementationTypeVarDifferingUsage2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadDecoratedImplementationNotLast mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadedFunctionBody mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverrideOverloadSwappedWithAdjustedVariants mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testVarArgsOverload2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadImplementationNotLast mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithTypeObject mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverrideOverloadedMethodWithMoreGeneralArgumentTypes mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadedMethodBody mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testDecoratedRedefinitionIsNotOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testCallToOverloadedFunction mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverrideOverloadedMethodWithMoreSpecificArgumentTypes mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedInitAndTypeObjectInOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithImplementationPy2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedFunctionReturnValue mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingAndDucktypeCompatibility mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverlappingErasedSignatures mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithImplementationError mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testCallToOverloadedMethod mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverlappingOverloadSignatures mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithUntypedImplAndMultipleVariants mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingAndIntFloatSubtyping mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testContravariantOverlappingOverloadSignatures mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithImplTooSpecificArg mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedMethodReturnValue mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testPartiallyCovariantOverlappingOverloadSignatures mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithImplTooSpecificRetType mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingVariableInputs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testPartiallyContravariantOverloadSignatures mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsWithDifferentArgumentCounts mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeCheckOverloadWithImplTypeVar mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testCovariantOverlappingOverloadSignatures mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTypeInferenceSpecialCaseWithOverloading mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testCovariantOverlappingOverloadSignaturesWithSomeSameArgTypes mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testKeywordArgOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testGenericOverloadVariant mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithTupleVarArg mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testIgnoreOverloadVariantBasedOnKeywordArg mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument5 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedInit mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testPreferExactSignatureMatchInOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testSingleOverloadStub mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument6 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testIntersectionTypeCompatibility mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testSingleOverload2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument7 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithDerivedFromAny mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testNonconsecutiveOverloads mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument8 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testCompatibilityOfIntersectionTypeObjectWithStdType mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testNonconsecutiveOverloadsMissingFirstOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithBoundedTypeVar mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument16 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument9 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testNonconsecutiveOverloadsMissingLaterOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedCallWithVariableTypes mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadOnOverloadWithType mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument10 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadTuple mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadOverlapWithTypeVars mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testCallableSpecificOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadTupleInstance mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument11 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testCustomRedefinitionDecorator mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadTupleEllipsisNumargs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument12 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadOverlapWithTypeVarsWithValues mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument1 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument13 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadTupleEllipsisVariance mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument14 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadOverlapWithTypeVarsWithValuesOrdering mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument3 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument15 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithOverlappingItemsAndAnyArgument4 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsUsingAny mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithMethodOverrideAndImplementation mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapMixingOptionalArgsWithVarargs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithVariableArgsAreOverlapping mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadAgainstEmptyCollections mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithIncompatibleMethodOverrideAndImplementation mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadAgainstEmptyCovariantCollections mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadDetectsPossibleMatchesWithGenerics mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadAnyIsConsideredValidReturnSubtype mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapMixingOptionalArgsWithVarargs2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverlappingOverloadCounting mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadFlagsPossibleMatches mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithNonPositionalArgs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapMixingNamedArgsWithKwargs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithTupleMatchingTypeVar mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithNonPositionalArgsIgnoresOrder mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapWithArgsAndKwargs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapMixingNamedArgsWithKwargs2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPartialOverlapWithUnrestrictedTypeVarInClass mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapWithVarargs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadVarargsSelectionWithTuples mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPartialOverlapWithUnrestrictedTypeVarInClassNested mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapMixingNamedArgsWithKwargs3 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapWithVarargs2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadVarargsSelectionWithNamedTuples mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadVarargInputAndVarargDefinition mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadTypedDictDifferentRequiredKeysMeansDictsAreDisjoint mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapWithVarargs3 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadMultipleVarargDefinition mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadKwargsSelectionWithDict mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapWithVarargs4 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedTypedDictPartiallyOverlappingRequiredKeys mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadMultipleVarargDefinitionComplex mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadKwargsSelectionWithTypedDict mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadVarargsSelection mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapWithKwargs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedTypedDictFullyNonTotalDictsAreAlwaysPartiallyOverlapping mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadVarargsAndKwargsSelection mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferUnionRespectsVariance mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPossibleOverlapMixingNamedArgsWithVarargs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedTotalAndNonTotalTypedDictsCanPartiallyOverlap mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferUnionIfParameterNamesAreDifferent mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedPartiallyOverlappingInheritedTypes2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithPartiallyOverlappingUnions mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithPartiallyOverlappingUnionsNested mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferUnionReturnFunctionsWithKwargs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedPartiallyOverlappingInheritedTypes3 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedTypedDictsWithSomeOptionalKeysArePartiallyOverlapping mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPartialOverlapWithUnrestrictedTypeVar mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedPartiallyOverlappingTypeVarsAndUnion mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferUnionWithDifferingLengths mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedPartiallyOverlappingInheritedTypes1 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPartiallyOverlappingTypeVarsIdentical mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadPartialOverlapWithUnrestrictedTypeVarNested mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedPartiallyOverlappingCallables mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoneWithStrictOptional mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingInferUnionReturnWithBadObjectTypevarReturn mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferUnionWithMixOfPositionalAndOptionalArgs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadNotConfusedForProperty mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingInferUnionReturnWithTypevarWithValueRestriction mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsNoneAndTypeVarsWithNoStrictOptional mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferUnionReturnBasic mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingInferUnionReturnWithMixedTypevars mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferUnionReturnMultipleArguments mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingInferUnionReturnWithFunctionTypevarReturn mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsNoneAndTypeVarsWithStrictOptional mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingInferUnionReturnWithMixedTypevarsInnerMismatch mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingInferUnionReturnWithObjectTypevarReturn mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoReturnNarrowTypeWithStrictOptional2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoReturnNarrowTypeNoStrictOptional1 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithNonGenericDescriptorLookalike mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingInferUnionReturnWithMixedTypevarsTighterBound mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoReturnNarrowTypeWithStrictOptional1 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoReturnNarrowTypeNoStrictOptional3 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithGenericDescriptor mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoReturnNarrowTypeWithStrictOptional3 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoReturnNarrowTypeNoStrictOptional2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithGenericDescriptorLookalike mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadingInferUnionReturnWithTypevarsAndValueRestrictions mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithInconsistentClassMethods mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoReturnNarrowWhenBlacklistingSubtype mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferUnionReturnWithInconsistentTypevarNames mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadLambdaUnpackingInference mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithSwappedDecorators mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoReturnNarrowWhenBlacklistingSubtype2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsAndNoneWithoutStrictOptional mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithClassMethods mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadFaultyClassMethodInheritance mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadStaticMethodImplementation mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithNonGenericDescriptor mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithStaticMethods mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadClassMethodMixingInheritance mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOptionalIsNotAUnionIfNoStrictOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testUnionMathOverloadingReturnsBestType mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithInconsistentStaticMethods mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadClassMethodImplementation mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOptionalIsNotAUnionIfNoStrictOverloadStr mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithSwappedDecorators2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadAndSelfTypes mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testUnionMathTrickyOverload1 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadFaultyStaticMethodInheritance mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadAndClassTypes mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testManyUnionsInOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testUnionMathTrickyOverload2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadStaticMethodMixingInheritance mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testSafeDunderOverlapInSubclass mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsWithNoneComingSecondAreAlwaysFlaggedInNoStrictOptional mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testNestedOverloadsNoCrash mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testUnsafeDunderOverlapInSubclass mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testNestedOverloadsTypeVar mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsWithNoneComingSecondIsOkInStrictOptional mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testNestedOverloadsMutuallyRecursive mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testNestedOverloadsTypeVarOverlap mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadConstrainedTypevarNotShadowingAny mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadErrorMessageManyMatches mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testTooManyUnionsException mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testAnyIsOKAsFallbackInOverloads mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadBoundedTypevarNotShadowingAny mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedInIter mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testBadOverloadProbableMatch mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testDisallowUntypedDecoratorsOverloadDunderCall mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadBadArgumentsInferredToAny2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsIgnorePromotions mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadBadArgumentsInferredToAny1 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testDisallowUntypedDecoratorsOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadsTypesAndUnions mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadInferringArgumentsUsingContext1 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testVeryBrokenOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testVeryBrokenOverload2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadDeferredNode mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadedToGeneric mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testLiteralSubtypeOverlap mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadTwoTypeArgs mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithObjectDecorator mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadTypeVsCallable mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadWithErrorDecorator mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfSysVersion mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfBasic mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfNotMerging mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfMerging mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfOldStyle mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfElse mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfElse2 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfSkipUnknownExecution mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfElse3 mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfDontSkipUnrelatedOverload mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfSplitFunctionDef mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfNotMergingDifferentNames mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfMixed
mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfUnconditionalFuncDef