TypeScript/tests/cases/conformance/types/intersection
Nathan Shively-Sanders 00dd1f0609
Add isIntersectionConstituent to relation key (#34789)
* Add isIntersectionConstituent to relation key

isIntersectionConstituent controls whether relation checking performs
excess property and common property checks. It is possible to fail a
relation check with excess property checks turned on, cache the result,
and then skip a relation check with excess property checks that would
have succeeded. #33133 provides an example of such a program.

Fixes #33133 the right way, so I reverted the fix at #33213
Fixes #34762 (by reverting #33213)
Fixes #33944 -- I added the test from #34646

* Update comments in test
2019-10-29 15:08:59 -07:00
..
commonTypeIntersection.ts Add isIntersectionConstituent to relation key (#34789) 2019-10-29 15:08:59 -07:00
contextualIntersectionType.ts Adding a few more tests 2015-06-25 18:45:03 -07:00
intersectionAndUnionTypes.ts Adding tests 2015-06-24 17:53:43 -07:00
intersectionAsWeakTypeSource.ts Allow weak type detection for intersection sources (#26668) 2018-08-24 10:30:39 -07:00
intersectionMemberOfUnionNarrowsCorrectly.ts Add isIntersectionConstituent to relation key (#34789) 2019-10-29 15:08:59 -07:00
intersectionOfUnionOfUnitTypes.ts Add tests 2017-09-13 06:37:59 -07:00
intersectionReduction.ts Add tests 2019-06-09 10:18:36 -07:00
intersectionReductionStrict.ts Add tests 2019-06-09 10:18:36 -07:00
intersectionsAndEmptyObjects.ts Add regression tests 2018-11-09 06:45:21 +01:00
intersectionThisTypes.ts Add tests 2017-01-21 13:07:06 -08:00
intersectionTypeAssignment.ts Adding a few more tests 2015-06-25 18:45:03 -07:00
intersectionTypeEquivalence.ts Adding tests 2015-06-24 17:53:43 -07:00
intersectionTypeInference.ts Adding test for inference with intersection type as target 2015-06-30 12:41:03 -07:00
intersectionTypeInference2.ts Update tests 2019-06-09 08:00:01 -07:00
intersectionTypeInference3.ts Add regression tests 2017-11-02 17:31:17 -07:00
intersectionTypeMembers.ts Defer union or intersection property type normalization (#31486) 2019-05-28 10:51:47 -07:00
intersectionTypeOverloading.ts Adding test 2015-06-26 09:48:36 -07:00
intersectionTypeReadonly.ts [Transforms] Merge master 07/11 into transform (#9697) 2016-07-18 15:38:30 -07:00
intersectionWithUnionConstraint.ts Add regression test 2019-04-13 08:24:27 -10:00
operatorsAndIntersectionTypes.ts Adding test 2016-02-06 15:33:56 -08:00
recursiveIntersectionTypes.ts Adding tests 2015-06-24 17:53:43 -07:00