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
intersectionAndUnionTypes.ts
intersectionAsWeakTypeSource.ts
intersectionMemberOfUnionNarrowsCorrectly.ts Add isIntersectionConstituent to relation key (#34789) 2019-10-29 15:08:59 -07:00
intersectionOfUnionOfUnitTypes.ts
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
intersectionThisTypes.ts
intersectionTypeAssignment.ts
intersectionTypeEquivalence.ts
intersectionTypeInference.ts
intersectionTypeInference2.ts Update tests 2019-06-09 08:00:01 -07:00
intersectionTypeInference3.ts
intersectionTypeMembers.ts
intersectionTypeOverloading.ts
intersectionTypeReadonly.ts
intersectionWithUnionConstraint.ts
operatorsAndIntersectionTypes.ts
recursiveIntersectionTypes.ts