prepack/src/utils
Dominic Gannaway 5fc6feeeb2 Unify logic for checking for intrinsic objects that have been derived (#2581)
Summary:
Release notes: none

This PR cleans up some of the `onArrayWithWidenedNumericProperty` logic, making it more generic for cases where we want to use concrete derived object values. Furthermore, it strengthens the validation process by checking for existence of `isScopedTemplate` on the internal object.
Pull Request resolved: https://github.com/facebook/prepack/pull/2581

Differential Revision: D10141954

Pulled By: trueadm

fbshipit-source-id: 8de828080b8a41357830cdbf7e49359512bc7244
2018-10-02 03:41:39 -07:00
..
babelhelpers.js Fixing fixup of source locations, mostly. (#2356) 2018-08-06 18:54:38 -07:00
ConcreteModelConverter.js Fixed bugs involving unsafe atemporals and improved abstract concrete unions (#2513) 2018-09-04 10:40:21 -07:00
DebugReproManager.js Upgrade Flow and fix new warnings (#2526) 2018-08-31 16:29:56 -07:00
DebugReproPackager.js Fix master CI (#2384) 2018-08-04 08:09:03 -07:00
errors.js Make more files flow strict 2018-05-31 12:44:05 -07:00
flow.js Re-enable traverse cache clear (#2260) 2018-07-14 10:53:17 -07:00
generator.js Unify logic for checking for intrinsic objects that have been derived (#2581) 2018-10-02 03:41:39 -07:00
HeapInspector.js Upgrade Flow and fix new warnings (#2526) 2018-08-31 16:29:56 -07:00
internalizer.js Reviewed all uses of t.memberEpression (#2162) 2018-06-25 15:24:19 -07:00
json.js Adds React pe-functional-components benchmark and some React SSR changes (#2560) 2018-09-24 03:56:52 -07:00
JSONTokenizer.js Using custom JSONTokenizer and streaming instead of JSON.stringify for cpuprofiles 2018-04-06 15:21:45 -07:00
leak.js Enable and constrain optimized array operator support for InstantRender (#2547) 2018-09-17 14:55:58 -07:00
logger.js Re-land typed descriptors and printer (#2511) 2018-08-31 05:54:23 -07:00
modules.js Change initializeMoreModules to modulesToInitialize allowing you to s… (#2576) 2018-09-27 15:10:17 -07:00
NameGenerator.js Cleanup of generator.js and moves out Babel serialization logic (#2306) 2018-07-23 17:46:33 -07:00
native-to-interp.js Re-land typed descriptors and printer (#2511) 2018-08-31 05:54:23 -07:00
parse.js Support constructors that return an object but also throw (#2501) 2018-08-31 03:39:31 -07:00
paths.js Expand x==null using a disjunction (#2572) 2018-09-25 06:25:02 -07:00
PreludeGenerator.js Store template source in OperationDescriptorData (#2491) 2018-08-28 10:10:57 -07:00
ShapeInformation.js Fix issue 2266 (#2303) 2018-08-02 11:39:48 -07:00
simplifier.js Compose without tail duplication (#2523) 2018-09-06 21:55:22 -07:00
SourceMapManager.js Upgrade Flow and fix new warnings (#2526) 2018-08-31 16:29:56 -07:00
strict.js Upgrade Prepack to Babel 7 (#2256) 2018-07-14 09:55:18 -07:00
TextPrinter.js Re-land typed descriptors and printer (#2511) 2018-08-31 05:54:23 -07:00
traverse-fast.js Upgrade Prepack to Babel 7 (#2256) 2018-07-14 09:55:18 -07:00