TypeScript/tests/cases/conformance/types/spread
Andrew Casey 6650496e85 Enforce a size limit in getSpreadType
When a union is spread into a union, the sizes are multiplied,
potentially resulting in an enormous union (especially if there are
repeated spreads).  This check detects cases that used to run out of
memory.

Fixes #40754
2020-09-24 14:52:42 -07:00
..
objectSpread.ts Error when property is specified more than once via a spread (#36727) 2020-02-11 10:23:15 -08:00
objectSpreadComputedProperty.ts
objectSpreadIndexSignature.ts Test:spread removes readonly from index signatures 2017-11-06 08:16:15 -08:00
objectSpreadNegative.ts Error when property is specified more than once via a spread (#36727) 2020-02-11 10:23:15 -08:00
objectSpreadNegativeParse.ts Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
objectSpreadNoTransform.ts
objectSpreadRepeatedComplexity.ts Enforce a size limit in getSpreadType 2020-09-24 14:52:42 -07:00
objectSpreadRepeatedNullCheckPerf.ts When calculating spreads, merge empty object into nonempty object to … (#34853) 2019-11-22 17:19:17 -08:00
objectSpreadSetonlyAccessor.ts Set-only accessors spread to undefined (#28213) 2018-10-29 14:51:12 -07:00
objectSpreadStrictNull.ts Remove undefined from optional spread properties 2017-06-14 10:31:11 -07:00
spreadContextualTypedBindingPattern.ts Test:spread contextually typed by binding pattern 2017-10-03 12:43:23 -07:00
spreadExcessProperty.ts No excess property error for spread properties (#26798) 2018-08-30 16:16:58 -07:00
spreadMethods.ts Don't include class getter in spread type (#26287) 2018-08-09 15:34:29 -07:00
spreadNonPrimitive.ts Test:spread object retains lefthandside 2017-12-12 08:37:34 -08:00
spreadOverwritesProperty.ts Error when property is specified more than once via a spread (#36727) 2020-02-11 10:23:15 -08:00
spreadOverwritesPropertyStrict.ts Remove error when spreading optional any (#37757) 2020-04-02 15:04:45 -07:00
spreadTypeVariable.ts add baseline tests for spreading instantiable type 2019-05-03 05:31:28 +03:00
spreadUnion.ts
spreadUnion2.ts Revert spread-falsy-union/fix spread of primitive 2017-09-15 16:11:41 -07:00
spreadUnion3.ts Update tests with improved spread-falsy-union rules 2017-09-15 10:06:58 -07:00