TypeScript/tests/cases/conformance/expressions/assignmentOperator
Matt McCutchen cc1c2ab6b2 Go back to the old narrowing algorithm (pre #26143) and avoid #26130 by
skipping narrowing if the old algorithm produces a type to which the
assigned type is not assignable.

This also means we'll no longer narrow for erroneous assignments where
the assigned type is not assignable to the declared type.  This is the
reason for the numericLiteralTypes3 baseline change.

Fixes #26405.
2018-08-17 21:35:03 -04:00
..
assignmentGenericLookupTypeNarrowing.ts Have getAssignmentReducedType use the comparable relation instead of 2018-08-01 23:26:17 -04:00
assignmentLHSIsReference.ts
assignmentLHSIsValue.ts
assignmentTypeNarrowing.ts Go back to the old narrowing algorithm (pre #26143) and avoid #26130 by 2018-08-17 21:35:03 -04:00
compoundAdditionAssignmentLHSCanBeAssigned.ts
compoundAdditionAssignmentLHSCannotBeAssigned.ts
compoundAdditionAssignmentWithInvalidOperands.ts
compoundArithmeticAssignmentLHSCanBeAssigned.ts
compoundArithmeticAssignmentWithInvalidOperands.ts
compoundAssignmentLHSIsReference.ts
compoundAssignmentLHSIsValue.ts