TypeScript/tests/cases/conformance/controlFlow
2021-09-30 10:50:25 -07:00
..
assertionTypePredicates1.ts Minor fix for assertion predicates (#38710) 2020-06-20 18:27:51 -07:00
assertionTypePredicates2.ts fix(45919): allow using JSDoc types for arrow function with type predicate (#45952) 2021-09-30 10:50:25 -07:00
constLocalsInFunctionExpressions.ts Add new tests 2016-05-26 16:26:40 -07:00
controlFlowAliasing.ts Fix infinite recursion in control flow analyzer inlining logic (#45845) 2021-09-13 11:02:55 -07:00
controlFlowAliasingCatchVariables.ts fix(44880): allow narrowing aliased conditions for catch variables (#45797) 2021-09-14 10:05:36 -07:00
controlFlowAssignmentExpression.ts Allow assignments to a narrowable reference to be considered narrowable 2020-07-29 16:37:25 -07:00
controlFlowAssignmentPatternOrder.ts Update control flow for nested binary exprs 2020-10-29 13:32:32 -07:00
controlFlowBinaryAndExpression.ts
controlFlowBinaryOrExpression.ts Add regression test 2016-04-21 10:49:39 -07:00
controlFlowBindingPatternOrder.ts Update control flow for correct destructuring evaluation order 2020-10-28 16:50:15 -07:00
controlFlowCommaOperator.ts Adding test 2016-04-20 07:09:43 -07:00
controlFlowConditionalExpression.ts
controlFlowDeleteOperator.ts Adding test 2016-05-11 16:57:19 -07:00
controlFlowDestructuringDeclaration.ts Adding test 2016-04-09 17:56:03 -07:00
controlFlowDoWhileStatement.ts
controlFlowElementAccess.ts Elt access assignment uses declared, not narrowed type (#27574) 2018-10-05 11:30:10 -07:00
controlFlowElementAccess2.ts Control flow for element access expressions (#31478) 2019-07-16 10:10:58 -07:00
controlFlowForInStatement.ts
controlFlowForInStatement2.ts Allow narrowing for any left-hand in operand (#45152) 2021-07-29 14:06:45 -07:00
controlFlowForOfStatement.ts
controlFlowForStatement.ts
controlFlowGenericTypes.ts Fix check for generic types in control flow analysis (#45148) 2021-08-06 08:53:30 +02:00
controlFlowIfStatement.ts Narrow QualifiedName inside typeof (#42540) 2021-01-28 15:19:01 -08:00
controlFlowIIFE.ts avoid generated helpers in baseline 2018-04-20 16:39:37 +02:00
controlFlowInOperator.ts feat(42639): allow narrowing type in 'in' operator with the identifier on the left side (#44893) 2021-07-21 09:10:32 -07:00
controlFlowInstanceofExtendsFunction.ts Replace subtype check in derivedness check with flags and structure checks (#27403) 2018-10-04 12:55:39 -07:00
controlFlowInstanceOfGuardPrimitives.ts Primitives should not be instanceof... anything (#27402) 2018-09-27 15:49:51 -07:00
controlFlowIteration.ts Adding regression test 2016-04-25 11:24:39 -07:00
controlFlowIterationErrors.ts Adding tests 2016-04-18 13:51:51 -07:00
controlFlowNullishCoalesce.ts nullish coalescing commit (#32883) 2019-09-30 15:33:50 -07:00
controlFlowOptionalChain.ts Fix erroneous optional chain narrowing (#36145) 2020-01-16 16:49:51 -08:00
controlFlowOptionalChain2.ts Fix discriminant property narrowing through optional chain with null (#42503) 2021-01-29 12:03:42 -08:00
controlFlowStringIndex.ts Add a couple of test cases 2017-11-08 10:56:30 -08:00
controlFlowSuperPropertyAccess.ts Test that super is tracked in control flow 2017-03-31 14:18:42 -07:00
controlFlowTruthiness.ts Add tests 2018-09-17 13:01:53 -07:00
controlFlowTypeofObject.ts Track non-null unknown types in control flow analysis (#45575) 2021-09-09 09:20:44 -07:00
controlFlowWhileStatement.ts Adding tests 2016-04-16 15:13:31 -07:00
controlFlowWithTemplateLiterals.ts fix narrowType check with template literals (#21024) 2018-01-08 13:06:58 -08:00
definiteAssignmentAssertions.ts fix(41965): fix error in definite assignment assertion context (#41989) 2020-12-30 11:45:18 -08:00
definiteAssignmentAssertionsWithObjectShortHand.ts improve parser and error message if definite assignment assertions in object short hand 2018-04-08 18:03:09 +08:00
exhaustiveSwitchStatements1.ts Fixed issue where non null assertion caused getFlowTypeOfReference to return the declared type if the type was already narrowed to never. (#35863) 2021-03-11 07:33:33 -08:00
neverReturningFunctions1.ts Support properties of mapped types in assertion control flow analysis (#40482) 2020-09-21 07:07:29 -10:00
switchWithConstrainedTypeVariable.ts Add regression test 2017-12-23 19:28:13 -08:00
typeGuardsAsAssertions.ts fix #11463, null assertion block uninitialized error (#14020) 2017-05-23 14:13:32 -07:00
typeGuardsNestedAssignments.ts [Transforms] Merge master 06/06/2016 (#8991) 2016-06-14 11:36:57 -07:00
typeGuardsTypeParameters.ts Add failing repro 2017-03-05 14:07:33 -08:00